Uses of Interface
org.simpleframework.xml.stream.OutputNode
Packages that use OutputNode
Package
Description
-
Uses of OutputNode in org.simpleframework.xml
Methods in org.simpleframework.xml with parameters of type OutputNodeModifier and TypeMethodDescriptionvoid
Serializer.write
(Object source, OutputNode root) Thiswrite
method will traverse the provided object checking for field annotations in order to compose the XML data. -
Uses of OutputNode in org.simpleframework.xml.convert
Methods in org.simpleframework.xml.convert with parameters of type OutputNodeModifier and TypeMethodDescriptionvoid
Converter.write
(OutputNode node, T value) Thiswrite
method is used to serialize an object to XML.Method parameters in org.simpleframework.xml.convert with type arguments of type OutputNodeModifier and TypeMethodDescriptionprivate boolean
AnnotationStrategy.write
(Type type, Object value, NodeMap<OutputNode> node) This is used to serialize a representation of the object value provided.boolean
This is used to serialize a representation of the object value provided.private boolean
RegistryStrategy.write
(Type type, Object value, NodeMap<OutputNode> node) This is used to serialize a representation of the object value provided.boolean
This is used to serialize a representation of the object value provided. -
Uses of OutputNode in org.simpleframework.xml.core
Methods in org.simpleframework.xml.core with parameters of type OutputNodeModifier and TypeMethodDescriptionvoid
Decorator.decorate
(OutputNode node) This method is used to decorate the provided node.void
Decorator.decorate
(OutputNode node, Decorator secondary) This method is used to decorate the provided node.void
NamespaceDecorator.decorate
(OutputNode node) This method is used to decorate the provided node.void
NamespaceDecorator.decorate
(OutputNode node, Decorator decorator) This method is used to decorate the provided node.void
Qualifier.decorate
(OutputNode node) This method is used to decorate the provided node.void
Qualifier.decorate
(OutputNode node, Decorator secondary) This method is used to decorate the provided node.private boolean
Composite.isOverridden
(OutputNode node, Object value, Type type) This is used to determine whether the specified value has been overridden by the strategy.private boolean
PrimitiveArray.isOverridden
(OutputNode node, Object value) This is used to determine whether the specified value has been overridden by the strategy.private boolean
PrimitiveInlineList.isOverridden
(OutputNode node, Object value) This is used to determine whether the specified value has been overridden by the strategy.private boolean
PrimitiveKey.isOverridden
(OutputNode node, Object value) This is used to determine whether the specified value has been overridden by the strategy.private boolean
PrimitiveList.isOverridden
(OutputNode node, Object value) This is used to determine whether the specified value has been overridden by the strategy.private boolean
PrimitiveValue.isOverridden
(OutputNode node, Object value) This is used to determine whether the specified value has been overridden by the strategy.private void
NamespaceDecorator.namespace
(OutputNode node) This is use to apply theNamespace
annotations on the node.private void
NamespaceDecorator.scope
(OutputNode node) This is use to apply forNamespaceList
annotations on the node.boolean
Context.setOverride
(Type type, Object value, OutputNode node) This is used to attach elements or attributes to the given element during the serialization process.boolean
Factory.setOverride
(Type type, Object value, OutputNode node) This method is used to set the override class within an element.boolean
Source.setOverride
(Type type, Object value, OutputNode node) This is used to attach elements or attributes to the given element during the serialization process.void
Composite.write
(OutputNode node, Object source) Thiswrite
method is used to perform serialization of the given source object.private void
Composite.write
(OutputNode node, Object source, Schema schema) Thiswrite
method is used to perform serialization of the given source object.void
CompositeArray.write
(OutputNode node, Object source) Thiswrite
method will write the specified object to the given XML element as as array entries.void
CompositeInlineList.write
(OutputNode node, Object source) Thiswrite
method will write the specified object to the given XML element as as list entries.void
CompositeInlineList.write
(OutputNode node, Collection list) Thiswrite
method will write the specified object to the given XML element as as list entries.void
CompositeInlineMap.write
(OutputNode node, Object source) Thiswrite
method will write the key value pairs within the provided map to the specified XML node.private void
CompositeInlineMap.write
(OutputNode node, Map map, Mode mode) Thiswrite
method will write the key value pairs within the provided map to the specified XML node.void
CompositeKey.write
(OutputNode node, Object item) This method is used to write the value to the specified node.void
CompositeList.write
(OutputNode node, Object source) Thiswrite
method will write the specified object to the given XML element as as list entries.void
CompositeListUnion.write
(OutputNode node, Object source) Thewrite
method uses the name of the XML element to select a converter to be used to write the instance.private void
CompositeListUnion.write
(OutputNode node, Object item, Label label) Thewrite
method uses the name of the XML element to select a converter to be used to write the instance.private void
CompositeListUnion.write
(OutputNode node, Collection list) Thewrite
method uses the name of the XML element to select a converter to be used to write the instance.void
CompositeMap.write
(OutputNode node, Object source) Thiswrite
method will write the key value pairs within the provided map to the specified XML node.void
CompositeMapUnion.write
(OutputNode node, Object source) Thewrite
method uses the name of the XML element to select a converter to be used to write the instance.private void
CompositeMapUnion.write
(OutputNode node, Object key, Object item, Label label) Thewrite
method uses the name of the XML element to select a converter to be used to write the instance.private void
CompositeMapUnion.write
(OutputNode node, Map map) Thewrite
method uses the name of the XML element to select a converter to be used to write the instance.void
CompositeUnion.write
(OutputNode node, Object object) Thewrite
method uses the name of the XML element to select a converter to be used to write the instance.private void
CompositeUnion.write
(OutputNode node, Object object, Label label) Thewrite
method uses the name of the XML element to select a converter to be used to write the instance.void
CompositeValue.write
(OutputNode node, Object item) This method is used to write the value to the specified node.void
Converter.write
(OutputNode node, Object object) Thewrite
method writes the fields from the given object to the XML element.void
Persister.write
(Object source, OutputNode root) Thiswrite
method will traverse the provided object checking for field annotations in order to compose the XML data.private void
Persister.write
(Object source, OutputNode node, Context context) Thiswrite
method will traverse the provided object checking for field annotations in order to compose the XML data.private void
Persister.write
(Object source, OutputNode root, Session session) Thiswrite
method will traverse the provided object checking for field annotations in order to compose the XML data.void
Primitive.write
(OutputNode node, Object source) Thiswrite
method will serialize the contents of the provided object to the given XML element.void
PrimitiveArray.write
(OutputNode node, Object source) Thiswrite
method will write the specified object to the given XML element as as array entries.private void
PrimitiveArray.write
(OutputNode node, Object source, int index) Thiswrite
method will write the specified object to the given XML element as as array entries.void
PrimitiveInlineList.write
(OutputNode node, Object source) Thiswrite
method will write the specified object to the given XML element as as list entries.private void
PrimitiveInlineList.write
(OutputNode node, Object source, Mode mode) Thiswrite
method will write the specified object to the given XML element as as list entries.void
PrimitiveKey.write
(OutputNode node, Object item) This method is used to write the value to the specified node.void
PrimitiveList.write
(OutputNode node, Object source) Thiswrite
method will write the specified object to the given XML element as as list entries.void
PrimitiveValue.write
(OutputNode node, Object item) This method is used to write the value to the specified node.void
TextList.write
(OutputNode node, Object object) Thewrite
method writes the fields from the given object to the XML element.void
Traverser.write
(OutputNode node, Object source) Thiswrite
method is used to convert the provided object to an XML element.void
Traverser.write
(OutputNode node, Object source, Class expect) Thiswrite
method is used to convert the provided object to an XML element.void
Traverser.write
(OutputNode node, Object source, Class expect, String name) Thiswrite
method is used to convert the provided object to an XML element.void
Variable.Adapter.write
(OutputNode node, Object value) Thiswrite
method acts like any other write in that it passes on the node and source object to write.private void
Composite.writeAttribute
(OutputNode node, Object value, Label label) This write method is used to set the value of the provided object as an attribute to the XML element.private void
PrimitiveKey.writeAttribute
(OutputNode node, Object item) This method is used to write the value to the specified node.private void
PrimitiveValue.writeAttribute
(OutputNode node, Object item, String key) This method is used to write the value to the specified node.private void
Composite.writeAttributes
(OutputNode node, Object source, Section section) This write method is used to write all the attribute contacts from the provided source object to the XML element.private void
Composite.writeElement
(OutputNode node, Object value, Converter convert) This is used write the element specified using the specified converter.private void
Composite.writeElement
(OutputNode node, Object value, Label label) This write method is used to append the provided object as an element to the given XML element object.private void
PrimitiveKey.writeElement
(OutputNode node, Object item) This method is used to write the value to the specified node.private void
PrimitiveValue.writeElement
(OutputNode node, Object item, String key) This method is used to write the value to the specified node.private void
Composite.writeElements
(OutputNode node, Object source, Section section) This write method is used to write all the element contacts from the provided source object to the XML element.private void
Composite.writeNamespaces
(OutputNode node, Type type, Label label) This is used to applyDecorator
objects to the provided node before it is written.private void
Composite.writeSection
(OutputNode node, Object source, Section section) ThiswriteSection
method is used to perform serialization of the given source object.private void
Composite.writeText
(OutputNode node, Object value, Label label) This write method is used to set the value of the provided object as the text for the XML element.private void
Composite.writeText
(OutputNode node, Object source, Section section) This write method is used to write the text contact from the provided source object to the XML element.private void
Composite.writeUnion
(OutputNode node, Object source, Section section, Label label) ThewriteUnion
method is determine the unions for a particular label and set the value of that union to the same value as the label.private void
Composite.writeVersion
(OutputNode node, Object source, Schema schema) This method is used to write the version attribute. -
Uses of OutputNode in org.simpleframework.xml.strategy
Method parameters in org.simpleframework.xml.strategy with type arguments of type OutputNodeModifier and TypeMethodDescriptionboolean
This is used to attach attribute values to the given node map during the serialization process.void
Visitor.write
(Type type, NodeMap<OutputNode> node) This is used to intercept an XML element after it is written by the underlyingStrategy
implementation.boolean
This method will write with an internal strategy before it has been intercepted by the visitor. -
Uses of OutputNode in org.simpleframework.xml.stream
Classes in org.simpleframework.xml.stream that implement OutputNodeModifier and TypeClassDescription(package private) class
TheOutputAttribute
object is used to represent a node added to the output node map.(package private) class
TheOutputDocument
object is used to represent the root of an XML document.(package private) class
TheOutputElement
object represents an XML element.Fields in org.simpleframework.xml.stream declared as OutputNodeModifier and TypeFieldDescriptionprivate OutputNode
OutputElement.parent
This is the parent XML element to this output node.private OutputNode
OutputAttribute.source
Represents the output node that this node requires.private final OutputNode
OutputNodeMap.source
This is the source node that this node map belongs to.private final OutputNode
PrefixResolver.source
Represents the actual XML element this is associated with.Methods in org.simpleframework.xml.stream that return OutputNodeModifier and TypeMethodDescriptionOutputStack.bottom()
This is used to acquire theOutputNode
from the bottom of the output stack.This is used to acquire theNode
mapped to the given name.This is used to create a child element within the element that this object represents.This is used to create a child element within the element that this object represents.This is used to create a child element within the element that this object represents.This is used to create a child element within the element that this object represents.OutputNodeMap.getNode()
This is used to acquire the actual node this map represents.OutputAttribute.getParent()
This is used to acquire theNode
that is the parent of this node.OutputDocument.getParent()
This is used to acquire theNode
that is the parent of this node.OutputElement.getParent()
This is used to acquire theNode
that is the parent of this node.OutputNode.getParent()
This is used to acquire theNode
that is the parent of this node.OutputStack.Sequence.next()
Returns theOutputNode
object at the cursor position.OutputStack.pop()
This is used to remove theOutputNode
from the top of the output stack.OutputStack.purge
(int index) Thepurge
method is used to purge a match from the provided position.OutputStack.push
(OutputNode value) This method is used to add anOutputNode
to the top of the stack.This is used to add a newNode
to the map.This is used to remove theNode
mapped to the given name.OutputAttribute.setAttribute
(String name, String value) This method is used for convinience to add an attribute node to the attributeNodeMap
.OutputDocument.setAttribute
(String name, String value) This method is used for convenience to add an attribute node to the attributeNodeMap
.OutputElement.setAttribute
(String name, String value) This method is used for convinience to add an attribute node to the attributeNodeMap
.OutputNode.setAttribute
(String name, String value) This method is used for convenience to add an attribute node to the attributeNodeMap
.OutputStack.top()
This is used to acquire theOutputNode
from the top of the output stack.static OutputNode
This is used to create anOutputNode
that can be used to write a well formed XML document.static OutputNode
This is used to create anOutputNode
that can be used to write a well formed XML document.NodeWriter.writeElement
(OutputNode parent, String name) This is used to create a new element under the specified node.NodeWriter.writeRoot()
This is used to acquire the root output node for the document.private OutputNode
NodeWriter.writeStart
(OutputNode parent, String name) This is used to begin writing on a new XML element.Methods in org.simpleframework.xml.stream that return types with arguments of type OutputNodeModifier and TypeMethodDescriptionOutputAttribute.getAttributes()
This returns aNodeMap
which can be used to add nodes to the element before that element has been committed.OutputDocument.getAttributes()
This returns aNodeMap
which can be used to add nodes to this node.OutputNode.getAttributes()
This returns aNodeMap
which can be used to add nodes to the element before that element has been committed.OutputStack.iterator()
This is returns anIterator
that is used to loop through the ouptut nodes from the top down.Methods in org.simpleframework.xml.stream with parameters of type OutputNodeModifier and TypeMethodDescriptionvoid
NodeWriter.commit
(OutputNode parent) This method is used to commit all nodes on the stack up to and including the specified node.boolean
NodeWriter.isCommitted
(OutputNode node) This is used to determine if the specified node has been committed.boolean
NodeWriter.isRoot
(OutputNode node) This method is used to determine if the node is the root node for the XML document.OutputStack.push
(OutputNode value) This method is used to add anOutputNode
to the top of the stack.void
NodeWriter.remove
(OutputNode node) This method is used to remove the output node from the output buffer if that node has not yet been committed.private void
NodeWriter.writeAttributes
(OutputNode node) This is used to write the attributes of the specified node to the output.private void
NodeWriter.writeComment
(OutputNode node) This is used to write a comment to the document.NodeWriter.writeElement
(OutputNode parent, String name) This is used to create a new element under the specified node.private void
NodeWriter.writeEnd
(OutputNode node) This is used to write a new end element to the resulting XML document.private void
NodeWriter.writeName
(OutputNode node) This is used to write a new start element to the resulting XML document.private void
NodeWriter.writeNamespaces
(OutputNode node) This is used to write the namespaces of the specified node to the output.private void
NodeWriter.writeStart
(OutputNode node) This is used to write the XML element to the underlying buffer.private OutputNode
NodeWriter.writeStart
(OutputNode parent, String name) This is used to begin writing on a new XML element.private void
NodeWriter.writeValue
(OutputNode node) This is used to write an element value to the resulting XML document.Constructors in org.simpleframework.xml.stream with parameters of type OutputNodeModifierConstructorDescriptionOutputAttribute
(OutputNode source, String name, String value) Constructor for theOutputAttribute
object.OutputElement
(OutputNode parent, NodeWriter writer, String name) Constructor for theOutputElement
object.OutputNodeMap
(OutputNode source) Constructor for theOutputNodeMap
object.PrefixResolver
(OutputNode source) Constructor for thePrefixResolver
object.