Package gov.nasa.pds.label.jaxb
Class PDSXMLEventReader
- java.lang.Object
-
- javax.xml.stream.util.EventReaderDelegate
-
- gov.nasa.pds.label.jaxb.PDSXMLEventReader
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.Object>
,javax.xml.stream.XMLEventReader
public class PDSXMLEventReader extends javax.xml.stream.util.EventReaderDelegate
Event reader when parsing a PDS4 Product Label.- Author:
- mcayanan
-
-
Constructor Summary
Constructors Constructor Description PDSXMLEventReader(javax.xml.stream.XMLEventReader xsr, java.lang.String root)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLLabelContext
getLabelContext()
javax.xml.stream.events.XMLEvent
nextEvent()
-
Methods inherited from class javax.xml.stream.util.EventReaderDelegate
close, getElementText, getParent, getProperty, hasNext, next, nextTag, peek, remove, setParent
-
-
-
-
Method Detail
-
nextEvent
public javax.xml.stream.events.XMLEvent nextEvent() throws javax.xml.stream.XMLStreamException
- Specified by:
nextEvent
in interfacejavax.xml.stream.XMLEventReader
- Overrides:
nextEvent
in classjavax.xml.stream.util.EventReaderDelegate
- Throws:
javax.xml.stream.XMLStreamException
-
getLabelContext
public XMLLabelContext getLabelContext()
- Returns:
- Returns the label context.
-
-