public class JodaBeanXmlReader
extends java.lang.Object
The XML format is defined by JodaBeanXmlWriter.
This class contains mutable state and cannot be used from multiple threads. A new instance must be created for each message.
| Constructor | Description |
|---|---|
JodaBeanXmlReader(JodaBeanSer settings) |
Creates an instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
Bean |
read(java.io.InputStream input) |
Reads and parses to a bean.
|
<T> T |
read(java.io.InputStream input,
java.lang.Class<T> rootType) |
Reads and parses to a bean.
|
Bean |
read(java.io.Reader input) |
Reads and parses to a bean.
|
<T> T |
read(java.io.Reader input,
java.lang.Class<T> rootType) |
Reads and parses to a bean.
|
Bean |
read(java.lang.String input) |
Reads and parses to a bean.
|
<T> T |
read(java.lang.String input,
java.lang.Class<T> rootType) |
Reads and parses to a bean.
|
public JodaBeanXmlReader(JodaBeanSer settings)
settings - the settings, not nullpublic Bean read(java.lang.String input)
input - the input string, not nullpublic <T> T read(java.lang.String input,
java.lang.Class<T> rootType)
T - the root typeinput - the input string, not nullrootType - the root type, not nullpublic Bean read(java.io.InputStream input)
input - the input reader, not nullpublic <T> T read(java.io.InputStream input,
java.lang.Class<T> rootType)
T - the root typeinput - the input stream, not nullrootType - the root type, not nullpublic Bean read(java.io.Reader input)
input - the input reader, not nullpublic <T> T read(java.io.Reader input,
java.lang.Class<T> rootType)
T - the root typeinput - the input reader, not nullrootType - the root type, not nullCopyright © 2007–2018 Joda.org. All rights reserved.