| Modifier and Type | Field and Description |
|---|---|
| protected XMLAttachmentMarshaller | |
| private String | |
| protected static final String | |
| private static final String | |
| private static final String | |
| protected static Class | |
| protected static Class | |
| private boolean | |
| private static final String | |
| private static final String | |
| private boolean | |
| private Boolean | |
| private Object | |
| private boolean | |
| protected MEDIA_TYPE | |
| private char | |
| private String | |
| private boolean | |
| private Schema | |
| private String | |
| private static final String | |
| protected static Class | |
| protected static Method | |
| protected static Method | |
| protected XMLTransformer | |
| private String | |
| private boolean | |
| private static final String | |
| private static final String | |
| protected static Method | |
| protected static Method | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static Constructor | |
| private String | |
| private static Constructor |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | XMLMarshaller(XMLMarshaller<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>, CHARACTER_ESCAPE_HANDLER extends CharacterEscapeHandler, CONTEXT extends Context<ABSTRACT_SESSION, DESCRIPTOR, ?, ?, ?, SESSION, ?>, DESCRIPTOR extends Descriptor<?, ?, ?, ?, ?, ?, ?, ?, ?, ?>, MARSHALLER_LISTENER extends Marshaller.
Copy constructor |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addDescriptorNamespacesToXMLRecord(DESCRIPTOR xmlDescriptor, AbstractMarshalRecord<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>, FIELD extends CoreField, MARSHALLER extends Marshaller<CHARACTER_ESCAPE_HANDLER extends CharacterEscapeHandler, CONTEXT extends Context<ABSTRACT_SESSION extends CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>>, DESCRIPTOR extends Descriptor<?, ?, ?, ?, ?, NAMESPACE_RESOLVER, ?, ?, ?, ?>, FIELD extends Field, NAMESPACE_RESOLVER extends NamespaceResolver, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION extends CoreSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager>, SESSION_EVENT_LISTENER extends CoreSessionEventListener>, MARSHALLER_LISTENER extends Marshaller.
|
| private XPathFragment | buildRootFragment(Object object, DESCRIPTOR descriptor, boolean isXMLRoot, MarshalRecord<MARSHALLER extends Marshaller> marshalRecord)
|
| protected void | |
| public XMLAttachmentMarshaller | |
| public String | |
| protected DESCRIPTOR | getDescriptor(Class<?> clazz, ABSTRACT_SESSION session)
INTERNAL: Return the descriptor for the root object. |
| public DESCRIPTOR | |
| protected DESCRIPTOR | getDescriptor(Object object, ABSTRACT_SESSION session)
INTERNAL: Return the descriptor for the root object. |
| protected DESCRIPTOR | |
| protected DESCRIPTOR | |
| protected DESCRIPTOR | |
| public Object | |
| public char | |
| protected Node | |
| public String | Returns: the no namespace schema location specified on this XMLMarshallerGet the no namespace schema location set on this XMLMarshaller |
| public Schema | |
| public String | Returns: the schema location specified on this XMLMarshallerGet the schema location set on this XMLMarshaller |
| public XMLTransformer | Returns: the transformer instance for this marshallerImplements abstract org. |
| public String | getValueWrapper()
Name of the property to marshal/unmarshal as a wrapper on the text() mappings Ignored marshalling XML. |
| public String | |
| public boolean | Returns: true if the media type is application/json, else false.Implements abstract org. |
| public boolean | Returns: true if the media type is application/xml, else false.Implements abstract org. |
| public boolean | Returns: if this should marshal to a fragment or notPUBLIC: Returns if this should marshal to a fragment. |
| public boolean | isIncludeRoot()
Implements abstract org. |
| public Boolean | |
| public boolean | isMarshalEmptyCollections()
Name of the property to determine if empty collections should be marshalled as [] Ignored marshalling XML. |
| public boolean | isReduceAnyArrays()
Implements abstract org. |
| protected boolean | |
| public boolean | |
| public void | marshal(Object
the object to marshal object, ContentHandler the contentHandler which the specified object should be marshalled to contentHandler)PUBLIC: Convert the given object to XML and update the given contentHandler with that XML Document |
| public void | marshal(Object
the object to marshal object, ContentHandler the contentHandler which the specified object should be marshalled to contentHandler, LexicalHandler lexicalHandler)PUBLIC: Convert the given object to XML and update the given contentHandler with that XML Document |
| public void | marshal(Object
the object to marshal object, MarshalRecord<MARSHALLER extends Marshaller> the marshalRecord to marshal the object to marshalRecord)Convert the given object to XML and update the given marshal record with that XML Document. |
| protected void | marshal(Object
the object to marshal object, MarshalRecord<MARSHALLER extends Marshaller> the marshalRecord to marshal the object to marshalRecord, ABSTRACT_SESSION session, DESCRIPTOR the XMLDescriptor for the object being marshalled descriptor, boolean isXMLRoot)Convert the given object to XML and update the given marshal record with that XML Document. |
| public void | |
| public void | marshal(Object
the object to marshal object, OutputStream the outputStream to marshal the object to outputStream)PUBLIC: Convert the given object to XML and update the given outputStream with that XML Document |
| private void | marshal(Object object, OutputStream outputStream, ABSTRACT_SESSION session, DESCRIPTOR xmlDescriptor)
|
| public void | |
| public void | |
| private void | |
| private void | marshalStreamOrWriter(Object object, MarshalRecord<MARSHALLER extends Marshaller> marshalRecord, ABSTRACT_SESSION session, DESCRIPTOR descriptor, boolean isXMLRoot)
|
| public Document | Returns: the document which the specified object has been marshalled tothe object to marshal object)PUBLIC: Convert the given object to an XML Document |
| protected Document | Returns: the document which the specified object has been marshalled tothe object to marshal object, DESCRIPTOR the XMLDescriptor for the object being marshalled descriptor, boolean isXMLRoot)INTERNAL: Convert the given object to an XML Document |
| protected Node | objectToXMLNode(Object object, ABSTRACT_SESSION session, DESCRIPTOR descriptor, boolean isXMLRoot)
INTERNAL: Like ObjectToXML but is may also return a document fragment instead of a document in the case of a non-root object. |
| protected Node | objectToXMLNode(Object object, Node rootNode, ABSTRACT_SESSION session, DESCRIPTOR descriptor, boolean isXMLRoot)
|
| public void | |
| public void | |
| public void | setEncoding(String
the encoding to set on this XMLMarshaller newEncoding)Overrides org. |
| public void | setFormattedOutput(boolean
if this XMLMarshaller should format the XML shouldFormat)Overrides org. |
| public void | setFragment(boolean
if this should marshal to a fragment or not fragment)PUBLIC: Set if this should marshal to a fragment. |
| public void | setIncludeRoot(boolean includeRoot)
Determine if the |
| public void | |
| public void | |
| public void | setMarshalEmptyCollections(Boolean marshalEmptyCollections)
Name of the property to determine if empty collections should be marshalled as [] Ignored marshalling XML. |
| public void | |
| public void | setNamespaceSeparator(char namespaceSeparator)
Set the namespace separator used during marshal operations. |
| public void | setNoNamespaceSchemaLocation(String
no namespace schema location to be seton this XMLMarshaller newNoNamespaceSchemaLocation)Set the no namespace schema location on this XMLMarshaller |
| public void | setReduceAnyArrays(boolean reduceAnyArrays)
Property to determine if size 1 any collections should be treated as collections Ignored marshalling XML. |
| public void | |
| public void | setSchemaLocation(String
the schema location to be seton this XMLMarshaller newSchemaLocation)Set the schema location on this XMLMarshaller |
| public void | setValueWrapper(String valueWrapper)
Name of the property to marshal/unmarshal as a wrapper on the text() mappings Ignored marshalling XML. |
| public void | |
| public void | |
| private Writer | wrapWriter(Writer writer)
INTERNAL: Wrap Writer in a BufferedWriter only if its write() operations may be costly (such as FileWriters and OutputStreamWriters). |