public class StaxReaderWrapper extends Object implements IStaxReaderWrapper
| Constructor and Description |
|---|
StaxReaderWrapper(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader.
|
Map<String,String> |
getAttributes()
Returns the attributes.
|
XmlTag |
getClosedTag()
Get the XML tag struct of the last closed tag.
|
int |
getEventType()
Gets the XML event type.
|
String |
getText()
Get the text for the element.
|
XmlTag |
getXmlTag()
Get the XML tag struct.
|
LinkedList<XmlTag> |
getXmlTagStack()
Get the XML tag stack.
|
boolean |
hasNext()
Returns if the reader has more events.
|
void |
next()
Selects the next event.
|
public StaxReaderWrapper(InputStream in)
public int getEventType()
getEventType in interface IStaxReaderWrapperpublic boolean hasNext()
hasNext in interface IStaxReaderWrapperpublic void next()
next in interface IStaxReaderWrapperpublic XmlTag getXmlTag()
getXmlTag in interface IStaxReaderWrapperpublic XmlTag getClosedTag()
getClosedTag in interface IStaxReaderWrapperpublic LinkedList<XmlTag> getXmlTagStack()
getXmlTagStack in interface IStaxReaderWrapperpublic Map<String,String> getAttributes()
getAttributes in interface IStaxReaderWrapperpublic String getText()
getText in interface IStaxReaderWrapperpublic void close()
close in interface IStaxReaderWrapperCopyright © 2015. All Rights Reserved.