public interface XmlLowLevelDeserializer extends LowLevelDeserializer
Modifier and Type | Method and Description |
---|---|
XmlItem |
current()
Returns the current xml item.
|
int |
currentDepth()
Returns the current element depth.
|
XmlItemType |
currentType()
Returns the type of the current xml item.
|
boolean |
hasNext()
Returns true if another xml item can be deserialized from the stream.
|
void |
moveToNext()
Moves to the next xml item which can be deserialized.
|
void |
open(Reader reader,
String systemId)
Opens a new deserialization stream based on the given reader and system id.
|
close, getInputPosition, open
void open(Reader reader, String systemId)
reader
- the reader to base the stream on.systemId
- the system ID of the stream as an URI string. Will be used to resolve relative URIs.LowLevelDeserializationException
boolean hasNext()
LowLevelDeserializationException
void moveToNext()
LowLevelDeserializationException
XmlItemType currentType()
XmlItemType
for the different values allowed.XmlItem current()
LowLevelDeserializationException
int currentDepth()
The depth of the root element is 0.
Copyright © 2014. All rights reserved.