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 IStaxReaderWrapper
public boolean hasNext()
hasNext
in interface IStaxReaderWrapper
public void next()
next
in interface IStaxReaderWrapper
public XmlTag getXmlTag()
getXmlTag
in interface IStaxReaderWrapper
public XmlTag getClosedTag()
getClosedTag
in interface IStaxReaderWrapper
public LinkedList<XmlTag> getXmlTagStack()
getXmlTagStack
in interface IStaxReaderWrapper
public Map<String,String> getAttributes()
getAttributes
in interface IStaxReaderWrapper
public String getText()
getText
in interface IStaxReaderWrapper
public void close()
close
in interface IStaxReaderWrapper
Copyright © 2015. All Rights Reserved.