| Modifier and Type | Method and Description |
|---|---|
void |
Serializer.write(Object source,
OutputNode root)
This
write method will traverse the provided object
checking for field annotations in order to compose the XML data. |
| Modifier and Type | Method and Description |
|---|---|
void |
Converter.write(OutputNode node,
T value)
This
write method is used to serialize an object
to XML. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AnnotationStrategy.write(Type type,
Object value,
NodeMap<OutputNode> node,
Map map)
This is used to serialize a representation of the object value
provided.
|
boolean |
RegistryStrategy.write(Type type,
Object value,
NodeMap<OutputNode> node,
Map map)
This is used to serialize a representation of the object value
provided.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Persister.write(Object source,
OutputNode root)
This
write method will traverse the provided object
checking for field annotations in order to compose the XML data. |
| Modifier and Type | Method and Description |
|---|---|
void |
Visitor.write(Type type,
NodeMap<OutputNode> node)
This is used to intercept an XML element after it is written
by the underlying
Strategy implementation. |
boolean |
VisitorStrategy.write(Type type,
Object value,
NodeMap<OutputNode> node,
Map map)
This method will write with an internal strategy before it has
been intercepted by the visitor.
|
boolean |
Strategy.write(Type type,
Object value,
NodeMap<OutputNode> node,
Map map)
This is used to attach attribute values to the given node
map during the serialization process.
|
| Modifier and Type | Method and Description |
|---|---|
OutputNode |
OutputNode.getChild(String name)
This is used to create a child element within the element that
this object represents.
|
OutputNode |
OutputNode.getParent()
This is used to acquire the
Node that is the
parent of this node. |
OutputNode |
OutputNode.setAttribute(String name,
String value)
This method is used for convenience to add an attribute node
to the attribute
NodeMap. |
static OutputNode |
NodeBuilder.write(Writer result)
This is used to create an
OutputNode that can be
used to write a well formed XML document. |
static OutputNode |
NodeBuilder.write(Writer result,
Format format)
This is used to create an
OutputNode that can be
used to write a well formed XML document. |
| Modifier and Type | Method and Description |
|---|---|
NodeMap<OutputNode> |
OutputNode.getAttributes()
This returns a
NodeMap which can be used to add
nodes to the element before that element has been committed. |
Copyright © 2019 Alibaba Cloud Computing. All rights reserved.