Modifier and Type | Field and Description |
---|---|
String |
id
The value of the Atom
<id> element. |
Map<String,String> |
links
The value of the
<link> elements in this AtomObject . |
String |
title
The value of the Atom
<title> element. |
String |
updated
The value of the Atom
<updated> element. |
Constructor and Description |
---|
AtomObject() |
Modifier and Type | Method and Description |
---|---|
protected static XMLStreamReader |
createReader(InputStream input)
Instantiates the XMLStreamReader, advances to the root element and
validates the root document structure.
|
protected static String |
getElementText(XMLStreamReader reader) |
protected static boolean |
isEndElement(XMLStreamReader reader,
String localName) |
protected static boolean |
isStartElement(XMLStreamReader reader,
String localName) |
protected void |
parseEnd(XMLStreamReader reader)
Parses the element at the current cursor position and reads the
corresponding end element.
|
protected String |
parseText(XMLStreamReader reader)
Parses and returns the text value of the element at the current cursor
position and reads the corresponding end element.
|
protected static void |
scan(XMLStreamReader reader) |
protected static void |
scanEnd(XMLStreamReader reader) |
protected static void |
scanTag(XMLStreamReader reader) |
protected static void |
syntaxError(XMLStreamReader reader) |
public String id
<id>
element.public String title
<title>
element.public String updated
<updated>
element.protected static XMLStreamReader createReader(InputStream input)
AtomFeed
and AtomEntry
parsers.input
- The input stream.XMLStreamReader
initialized reader, advanced to the
first element of the document.protected void parseEnd(XMLStreamReader reader)
reader
- The XML reader.protected String parseText(XMLStreamReader reader)
reader
- The XML reader.protected static String getElementText(XMLStreamReader reader)
protected static boolean isEndElement(XMLStreamReader reader, String localName)
protected static boolean isStartElement(XMLStreamReader reader, String localName)
protected static void scan(XMLStreamReader reader)
protected static void scanEnd(XMLStreamReader reader)
protected static void scanTag(XMLStreamReader reader)
protected static void syntaxError(XMLStreamReader reader)
Copyright © 2022 Splunk, Inc.. All rights reserved.