Package jadex.xml.reader
Interface IXMLReader
- 
- All Known Implementing Classes:
- StaxReaderWrapper
 
 public interface IXMLReader
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the reader.intgetAttributeCount()java.lang.StringgetAttributeLocalName(int i)java.lang.StringgetAttributeNamespace(int i)java.lang.StringgetAttributePrefix(int i)java.util.Map<java.lang.String,java.lang.String>getAttributes()Returns the attributes.java.lang.StringgetAttributeValue(int i)XmlTaggetClosedTag()Get the XML tag struct of the last closed tag.intgetEventType()Gets the XML event type.java.lang.StringgetLocalName()ILocationgetLocation()Returns the current parser location.QNamegetName()java.lang.StringgetText()Get the text for the element.XmlTaggetXmlTag()Get the XML tag struct.java.util.LinkedList<XmlTag>getXmlTagStack()Get the XML tag stack.booleanhasNext()Returns if the reader has more events.intnext()Selects the next event.
 
- 
- 
- 
Method Detail- 
getEventTypeint getEventType() Gets the XML event type.- Returns:
- Event type.
 
 - 
hasNextboolean hasNext() Returns if the reader has more events.- Returns:
- True, if there are more events.
 
 - 
nextint next() Selects the next event.
 - 
getXmlTagXmlTag getXmlTag() Get the XML tag struct.- Returns:
- Struct defining the tag.
 
 - 
getClosedTagXmlTag getClosedTag() Get the XML tag struct of the last closed tag.- Returns:
- Struct defining the tag.
 
 - 
getXmlTagStackjava.util.LinkedList<XmlTag> getXmlTagStack() Get the XML tag stack.- Returns:
- Stack defining the tags.
 
 - 
getAttributesjava.util.Map<java.lang.String,java.lang.String> getAttributes() Returns the attributes.- Returns:
- The attributes.
 
 - 
getTextjava.lang.String getText() Get the text for the element.- Returns:
- The text.
 
 - 
closevoid close() Closes the reader.
 - 
getLocationILocation getLocation() Returns the current parser location.- Returns:
- Location
 
 - 
getLocalNamejava.lang.String getLocalName() 
 - 
getAttributeCountint getAttributeCount() 
 - 
getAttributeLocalNamejava.lang.String getAttributeLocalName(int i) 
 - 
getAttributeValuejava.lang.String getAttributeValue(int i) 
 - 
getNameQName getName() 
 - 
getAttributePrefixjava.lang.String getAttributePrefix(int i) 
 - 
getAttributeNamespacejava.lang.String getAttributeNamespace(int i) 
 
- 
 
-