Uses of Class
com.sun.xml.bind.v2.runtime.XMLSerializer
Packages that use XMLSerializer
Package
Description
Implementation of the com.sun.xml.bind.j2s.model package.
Code that implements JAXBContext, Unmarshaller, and Marshaller.
Code that writes well-formed XML (
XmlOutput and its implementations}.Abstraction around accessing data of actual objects.
-
Uses of XMLSerializer in com.sun.xml.bind.v2.model.impl
Methods in com.sun.xml.bind.v2.model.impl with parameters of type XMLSerializerModifier and TypeMethodDescriptionvoidRuntimeBuiltinLeafInfoImpl.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 XMLSerializerMethods in com.sun.xml.bind.v2.runtime that return XMLSerializerModifier and TypeMethodDescriptionstatic XMLSerializerXMLSerializer.getInstance()When called from within the realm of the marshaller, this method returns the currentXMLSerializerin charge.Methods in com.sun.xml.bind.v2.runtime with parameters of type XMLSerializerModifier and TypeMethodDescriptionvoidFilterTransducer.declareNamespace(T o, XMLSerializer w) voidTransducer.declareNamespace(ValueT o, XMLSerializer w) Declares the namespace URIs used in the given value tow.ClassBeanInfoImpl.getId(BeanT bean, XMLSerializer target) CompositeStructureBeanInfo.getId(CompositeStructure o, XMLSerializer target) ElementBeanInfoImpl.getId(javax.xml.bind.JAXBElement e, XMLSerializer target) abstract StringJaxBeanInfo.getId(BeanT o, XMLSerializer target) Gets the ID value of the given bean, if it has an ID value.voidClassBeanInfoImpl.serializeAttributes(BeanT bean, XMLSerializer target) voidCompositeStructureBeanInfo.serializeAttributes(CompositeStructure o, XMLSerializer target) voidElementBeanInfoImpl.serializeAttributes(javax.xml.bind.JAXBElement e, XMLSerializer target) abstract voidJaxBeanInfo.serializeAttributes(BeanT o, XMLSerializer target) Serializes attributes into the specified target.voidClassBeanInfoImpl.serializeBody(BeanT bean, XMLSerializer target) voidCompositeStructureBeanInfo.serializeBody(CompositeStructure o, XMLSerializer target) voidElementBeanInfoImpl.serializeBody(javax.xml.bind.JAXBElement element, XMLSerializer target) abstract voidJaxBeanInfo.serializeBody(BeanT o, XMLSerializer target) Serializes child elements and texts into the specified target.voidClassBeanInfoImpl.serializeRoot(BeanT bean, XMLSerializer target) voidCompositeStructureBeanInfo.serializeRoot(CompositeStructure o, XMLSerializer target) voidElementBeanInfoImpl.serializeRoot(javax.xml.bind.JAXBElement e, XMLSerializer target) abstract voidJaxBeanInfo.serializeRoot(BeanT o, XMLSerializer target) Serializes the bean as the root element.voidClassBeanInfoImpl.serializeURIs(BeanT bean, XMLSerializer target) voidCompositeStructureBeanInfo.serializeURIs(CompositeStructure o, XMLSerializer target) voidElementBeanInfoImpl.serializeURIs(javax.xml.bind.JAXBElement e, XMLSerializer target) abstract voidJaxBeanInfo.serializeURIs(BeanT o, XMLSerializer target) Declares all the namespace URIs this object is using at its top-level scope into the specified target.voidFilterTransducer.writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName) voidInlineBinaryTransducer.writeLeafElement(XMLSerializer w, Name tagName, V o, String fieldName) voidMimeTypedTransducer.writeLeafElement(XMLSerializer w, Name tagName, V o, String fieldName) voidSchemaTypeTransducer.writeLeafElement(XMLSerializer w, Name tagName, V o, String fieldName) voidTransducer.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.voidFilterTransducer.writeText(XMLSerializer w, T o, String fieldName) voidInlineBinaryTransducer.writeText(XMLSerializer w, V o, String fieldName) voidMimeTypedTransducer.writeText(XMLSerializer w, V o, String fieldName) voidSchemaTypeTransducer.writeText(XMLSerializer w, V o, String fieldName) voidTransducer.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 XMLSerializerMethods in com.sun.xml.bind.v2.runtime.output with parameters of type XMLSerializerModifier and TypeMethodDescriptionvoidFastInfosetStreamWriterOutput.startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) voidForkXmlOutput.startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) voidMTOMXmlOutput.startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) voidSAXOutput.startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) voidUTF8XmlOutput.startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) voidXMLEventWriterOutput.startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) voidXmlOutput.startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) Called at the very beginning.voidXmlOutputAbstractImpl.startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) Called at the very beginning.voidXMLStreamWriterOutput.startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) Constructors in com.sun.xml.bind.v2.runtime.output with parameters of type XMLSerializer -
Uses of XMLSerializer in com.sun.xml.bind.v2.runtime.property
Methods in com.sun.xml.bind.v2.runtime.property with parameters of type XMLSerializerModifier and TypeMethodDescriptionvoidAttributeProperty.serializeAttributes(BeanT o, XMLSerializer w) Marshals one attribute.voidProperty.serializeBody(BeanT beanT, XMLSerializer target, Object outerPeer) final voidValueProperty.serializeBody(BeanT o, XMLSerializer w, Object outerPeer) voidAttributeProperty.serializeURIs(BeanT o, XMLSerializer w) voidProperty.serializeURIs(BeanT beanT, XMLSerializer target) voidValueProperty.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 XMLSerializerModifier and TypeMethodDescriptionvoidListTransducedAccessorImpl.declareNamespace(BeanT bean, XMLSerializer w) voidTransducedAccessor.declareNamespace(BeanT o, XMLSerializer w) Obtain the value of the field and declares the namespace URIs used in the value.Lister.CollectionLister.iterator(T collection, XMLSerializer context) abstract ListIterator<ItemT>Lister.iterator(PropT multiValueProp, XMLSerializer context) Iterates values of a multi-value property.voidDefaultTransducedAccessor.writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName) voidTransducedAccessor.CompositeTransducedAccessorImpl.writeLeafElement(XMLSerializer w, Name tagName, BeanT o, String fieldName) abstract voidTransducedAccessor.writeLeafElement(XMLSerializer w, Name tagName, BeanT o, String fieldName) Convenience method to write the value as a text inside an element without any attributes.voidDefaultTransducedAccessor.writeText(XMLSerializer w, T o, String fieldName) voidTransducedAccessor.CompositeTransducedAccessorImpl.writeText(XMLSerializer w, BeanT o, String fieldName) abstract voidTransducedAccessor.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 XMLSerializerModifier and TypeMethodDescriptionvoidTransducedAccessor_field_Integer.writeLeafElement(XMLSerializer w, Name tagName, Object o, String fieldName) voidTransducedAccessor_method_Integer.writeLeafElement(XMLSerializer w, Name tagName, Object o, String fieldName)