|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jsefa.xml.XmlDeserializerImpl
public final class XmlDeserializerImpl
Default implementation of XmlDeserializer.
| Method Summary | ||
|---|---|---|
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. |
|
|
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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 object
public 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 Deserializer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||