public final class SMInputContext extends Object
Modifier and Type | Field and Description |
---|---|
protected javax.xml.stream.util.XMLEventAllocator |
_allocator |
Constructor and Description |
---|
SMInputContext(org.codehaus.stax2.XMLStreamReader2 sr) |
Modifier and Type | Method and Description |
---|---|
javax.xml.stream.events.XMLEvent |
currentAsEvent() |
int |
getDepth() |
javax.xml.stream.Location |
getEventLocation()
Method for accessing starting location of the currently
pointed-to event, within input stream.
|
javax.xml.stream.Location |
getStreamLocation()
Method for accessing the currently pointed-to location
within input stream.
|
protected org.codehaus.stax2.XMLStreamReader2 |
getStreamReader() |
protected javax.xml.stream.util.XMLEventAllocator _allocator
public javax.xml.stream.events.XMLEvent currentAsEvent() throws javax.xml.stream.XMLStreamException
protected org.codehaus.stax2.XMLStreamReader2 getStreamReader()
public int getDepth()
public javax.xml.stream.Location getEventLocation()
public javax.xml.stream.Location getStreamLocation()
Copyright © 2014 FasterXML. All rights reserved.