public final class XmlDeserializerImpl extends Object implements XmlDeserializer
XmlDeserializer.| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean closeReader)
Closes the deserialization stream.
|
InputPosition |
getInputPosition()
Returns information about the current position within the input stream.
|
boolean |
hasNext()
Returns true if another object can be deserialized from the stream.
|
<T> T |
next()
Deserializes an object from the stream.
|
void |
open(Reader reader)
Opens a new deserialization stream based on the given reader.
|
void |
open(Reader reader,
String baseURI)
Opens a new deserialization stream based on the given reader and system id.
|
public void open(Reader reader)
open in interface Deserializerreader - the reader to base the stream on.public void open(Reader reader, String baseURI)
open in interface XmlDeserializerreader - the reader to base the stream on.baseURI - the system ID of the stream as an URI string. Will be used to resolve relative URIs.public boolean hasNext()
hasNext in interface Deserializerpublic <T> T next()
next in interface DeserializerT - the expected type of the objectpublic void close(boolean closeReader)
closeReader
is true.close in interface DeserializercloseReader - if true, the underlying reader will be closed, too.public InputPosition getInputPosition()
getInputPosition in interface DeserializerCopyright © 2014. All rights reserved.