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