| Modifier and Type | Method and Description |
|---|---|
<T> T |
Serializer.read(Class<? extends T> type,
InputNode source)
This
read method will read the contents of the XML
document from the provided source and convert it into an object
of the specified type. |
<T> T |
Serializer.read(Class<? extends T> type,
InputNode source,
boolean strict)
This
read method will read the contents of the XML
document from the provided source and convert it into an object
of the specified type. |
<T> T |
Serializer.read(T value,
InputNode source)
This
read method will read the contents of the XML
document from the provided source and populate the object with
the values deserialized. |
<T> T |
Serializer.read(T value,
InputNode source,
boolean strict)
This
read method will read the contents of the XML
document from the provided source and populate the object with
the values deserialized. |
boolean |
Serializer.validate(Class type,
InputNode source)
This
validate method will validate the contents of
the XML document against the specified XML class schema. |
boolean |
Serializer.validate(Class type,
InputNode source,
boolean strict)
This
validate method will validate the contents of
the XML document against the specified XML class schema. |
| Modifier and Type | Method and Description |
|---|---|
T |
Converter.read(InputNode node)
This
read method is used to deserialize an object
from the source XML. |
| Modifier and Type | Method and Description |
|---|---|
Value |
AnnotationStrategy.read(Type type,
NodeMap<InputNode> node,
Map map)
This is used to read the
Value which will be used
to represent the deserialized object. |
Value |
RegistryStrategy.read(Type type,
NodeMap<InputNode> node,
Map map)
This is used to read the
Value which will be used
to represent the deserialized object. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Persister.read(Class<? extends T> type,
InputNode source)
This
read method will read the contents of the XML
document from the provided source and convert it into an object
of the specified type. |
<T> T |
Persister.read(Class<? extends T> type,
InputNode node,
boolean strict)
This
read method will read the contents of the XML
document from the provided source and convert it into an object
of the specified type. |
<T> T |
Persister.read(T value,
InputNode source)
This
read method will read the contents of the XML
document from the provided source and populate the object with
the values deserialized. |
<T> T |
Persister.read(T value,
InputNode node,
boolean strict)
This
read method will read the contents of the XML
document from the provided source and populate the object with
the values deserialized. |
boolean |
Persister.validate(Class type,
InputNode source)
This
validate method will validate the contents of
the XML document against the specified XML class schema. |
boolean |
Persister.validate(Class type,
InputNode node,
boolean strict)
This
validate method will validate the contents of
the XML document against the specified XML class schema. |
| Modifier and Type | Method and Description |
|---|---|
void |
Visitor.read(Type type,
NodeMap<InputNode> node)
This is used to intercept an XML element before it is read
by the underlying
Strategy implementation. |
Value |
VisitorStrategy.read(Type type,
NodeMap<InputNode> node,
Map map)
This method will read with an internal strategy after it has
been intercepted by the visitor.
|
Value |
Strategy.read(Type type,
NodeMap<InputNode> node,
Map map)
This is used to resolve and load a class for the given element.
|
| Modifier and Type | Method and Description |
|---|---|
InputNode |
InputNode.getAttribute(String name)
Provides an attribute from the element represented.
|
InputNode |
InputNode.getNext()
This returns the next child element within this element if
one exists.
|
InputNode |
InputNode.getNext(String name)
This returns the next child in this element if that child
has the name provided.
|
InputNode |
InputNode.getParent()
This is used to acquire the
Node that is the
parent of this node. |
static InputNode |
NodeBuilder.read(InputStream source)
This is used to create an
InputNode that can be
used to read XML from the specified stream. |
static InputNode |
NodeBuilder.read(Reader source)
This is used to create an
InputNode that can be
used to read XML from the specified reader. |
| Modifier and Type | Method and Description |
|---|---|
NodeMap<InputNode> |
InputNode.getAttributes()
This returns a map of the attributes contained within the
element.
|
Copyright © 2019 Alibaba Cloud Computing. All rights reserved.