Uses of Class
com.sun.xml.bind.v2.runtime.XMLSerializer
-
Packages that use XMLSerializer Package Description com.sun.xml.bind.v2.model.impl Implementation of the com.sun.xml.bind.j2s.model package.com.sun.xml.bind.v2.runtime Code that implements JAXBContext, Unmarshaller, and Marshaller.com.sun.xml.bind.v2.runtime.output Code that writes well-formed XML (XmlOutput
and its implementations}.com.sun.xml.bind.v2.runtime.property com.sun.xml.bind.v2.runtime.reflect Abstraction around accessing data of actual objects.com.sun.xml.bind.v2.runtime.reflect.opt -
-
Uses of XMLSerializer in com.sun.xml.bind.v2.model.impl
Methods in com.sun.xml.bind.v2.model.impl with parameters of type XMLSerializer Modifier and Type Method Description void
RuntimeBuiltinLeafInfoImpl. declareNamespace(T o, XMLSerializer w)
-
Uses of XMLSerializer in com.sun.xml.bind.v2.runtime
Fields in com.sun.xml.bind.v2.runtime declared as XMLSerializer Modifier and Type Field Description protected XMLSerializer
MarshallerImpl. serializer
Methods in com.sun.xml.bind.v2.runtime that return XMLSerializer Modifier and Type Method Description static XMLSerializer
XMLSerializer. getInstance()
When called from within the realm of the marshaller, this method returns the currentXMLSerializer
in charge.Methods in com.sun.xml.bind.v2.runtime with parameters of type XMLSerializer Modifier and Type Method Description void
FilterTransducer. declareNamespace(T o, XMLSerializer w)
void
Transducer. declareNamespace(ValueT o, XMLSerializer w)
Declares the namespace URIs used in the given value tow
.String
ClassBeanInfoImpl. getId(BeanT bean, XMLSerializer target)
String
CompositeStructureBeanInfo. getId(CompositeStructure o, XMLSerializer target)
String
ElementBeanInfoImpl. getId(JAXBElement e, XMLSerializer target)
abstract String
JaxBeanInfo. getId(BeanT o, XMLSerializer target)
Gets the ID value of the given bean, if it has an ID value.void
ClassBeanInfoImpl. serializeAttributes(BeanT bean, XMLSerializer target)
void
CompositeStructureBeanInfo. serializeAttributes(CompositeStructure o, XMLSerializer target)
void
ElementBeanInfoImpl. serializeAttributes(JAXBElement e, XMLSerializer target)
abstract void
JaxBeanInfo. serializeAttributes(BeanT o, XMLSerializer target)
Serializes attributes into the specified target.void
ClassBeanInfoImpl. serializeBody(BeanT bean, XMLSerializer target)
void
CompositeStructureBeanInfo. serializeBody(CompositeStructure o, XMLSerializer target)
void
ElementBeanInfoImpl. serializeBody(JAXBElement element, XMLSerializer target)
abstract void
JaxBeanInfo. serializeBody(BeanT o, XMLSerializer target)
Serializes child elements and texts into the specified target.void
ClassBeanInfoImpl. serializeRoot(BeanT bean, XMLSerializer target)
void
CompositeStructureBeanInfo. serializeRoot(CompositeStructure o, XMLSerializer target)
void
ElementBeanInfoImpl. serializeRoot(JAXBElement e, XMLSerializer target)
abstract void
JaxBeanInfo. serializeRoot(BeanT o, XMLSerializer target)
Serializes the bean as the root element.void
ClassBeanInfoImpl. serializeURIs(BeanT bean, XMLSerializer target)
void
CompositeStructureBeanInfo. serializeURIs(CompositeStructure o, XMLSerializer target)
void
ElementBeanInfoImpl. serializeURIs(JAXBElement e, XMLSerializer target)
abstract void
JaxBeanInfo. serializeURIs(BeanT o, XMLSerializer target)
Declares all the namespace URIs this object is using at its top-level scope into the specified target.void
FilterTransducer. writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName)
void
InlineBinaryTransducer. writeLeafElement(XMLSerializer w, Name tagName, V o, String fieldName)
void
MimeTypedTransducer. writeLeafElement(XMLSerializer w, Name tagName, V o, String fieldName)
void
SchemaTypeTransducer. writeLeafElement(XMLSerializer w, Name tagName, V o, String fieldName)
void
Transducer. writeLeafElement(XMLSerializer w, Name tagName, ValueT o, String fieldName)
Sends the result of theTransducer.print(Object)
operation to one of theleafElement(Name, String, String)
method.void
FilterTransducer. writeText(XMLSerializer w, T o, String fieldName)
void
InlineBinaryTransducer. writeText(XMLSerializer w, V o, String fieldName)
void
MimeTypedTransducer. writeText(XMLSerializer w, V o, String fieldName)
void
SchemaTypeTransducer. writeText(XMLSerializer w, V o, String fieldName)
void
Transducer. writeText(XMLSerializer w, ValueT o, String fieldName)
Sends the result of theTransducer.print(Object)
operation to one of thetext(String, String)
method, but with the best representation of the value, not necessarily String. -
Uses of XMLSerializer in com.sun.xml.bind.v2.runtime.output
Fields in com.sun.xml.bind.v2.runtime.output declared as XMLSerializer Modifier and Type Field Description protected XMLSerializer
XmlOutputAbstractImpl. serializer
Methods in com.sun.xml.bind.v2.runtime.output with parameters of type XMLSerializer Modifier and Type Method Description void
FastInfosetStreamWriterOutput. startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
void
ForkXmlOutput. startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
void
MTOMXmlOutput. startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
void
SAXOutput. startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
void
UTF8XmlOutput. startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
void
XMLEventWriterOutput. startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
void
XmlOutput. startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
Called at the very beginning.void
XmlOutputAbstractImpl. startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
Called at the very beginning.void
XMLStreamWriterOutput. startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext)
Constructors in com.sun.xml.bind.v2.runtime.output with parameters of type XMLSerializer Constructor Description NamespaceContextImpl(XMLSerializer owner)
-
Uses of XMLSerializer in com.sun.xml.bind.v2.runtime.property
Methods in com.sun.xml.bind.v2.runtime.property with parameters of type XMLSerializer Modifier and Type Method Description void
AttributeProperty. serializeAttributes(BeanT o, XMLSerializer w)
Marshals one attribute.void
Property. serializeBody(BeanT beanT, XMLSerializer target, Object outerPeer)
void
ValueProperty. serializeBody(BeanT o, XMLSerializer w, Object outerPeer)
void
AttributeProperty. serializeURIs(BeanT o, XMLSerializer w)
void
Property. serializeURIs(BeanT beanT, XMLSerializer target)
void
ValueProperty. serializeURIs(BeanT o, XMLSerializer w)
-
Uses of XMLSerializer in com.sun.xml.bind.v2.runtime.reflect
Methods in com.sun.xml.bind.v2.runtime.reflect with parameters of type XMLSerializer Modifier and Type Method Description void
ListTransducedAccessorImpl. declareNamespace(BeanT bean, XMLSerializer w)
void
TransducedAccessor. declareNamespace(BeanT o, XMLSerializer w)
Obtain the value of the field and declares the namespace URIs used in the value.ListIterator
Lister.CollectionLister. iterator(T collection, XMLSerializer context)
abstract ListIterator<ItemT>
Lister. iterator(PropT multiValueProp, XMLSerializer context)
Iterates values of a multi-value property.void
DefaultTransducedAccessor. writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName)
void
TransducedAccessor.CompositeTransducedAccessorImpl. writeLeafElement(XMLSerializer w, Name tagName, BeanT o, String fieldName)
abstract void
TransducedAccessor. writeLeafElement(XMLSerializer w, Name tagName, BeanT o, String fieldName)
Convenience method to write the value as a text inside an element without any attributes.void
DefaultTransducedAccessor. writeText(XMLSerializer w, T o, String fieldName)
void
TransducedAccessor.CompositeTransducedAccessorImpl. writeText(XMLSerializer w, BeanT o, String fieldName)
abstract void
TransducedAccessor. writeText(XMLSerializer w, BeanT o, String fieldName)
Invokes one of thetext(String, String)
method with the representation of data bested suited for this transduced accessor. -
Uses of XMLSerializer in com.sun.xml.bind.v2.runtime.reflect.opt
Methods in com.sun.xml.bind.v2.runtime.reflect.opt with parameters of type XMLSerializer Modifier and Type Method Description void
TransducedAccessor_field_Integer. writeLeafElement(XMLSerializer w, Name tagName, Object o, String fieldName)
void
TransducedAccessor_method_Integer. writeLeafElement(XMLSerializer w, Name tagName, Object o, String fieldName)
-