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
XMLStreamExceptionprotected org.codehaus.stax2.XMLStreamReader2 getStreamReader()
public int getDepth()
public Location getEventLocation()
public Location getStreamLocation()
Copyright © 2021 FasterXML. All rights reserved.