public abstract class AbstractElementExtensibleXMLObjectMarshaller extends AbstractXMLObjectMarshaller
xs:any, but without
xs:anyAttribute attributes or text content.| Constructor and Description |
|---|
AbstractElementExtensibleXMLObjectMarshaller()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
marshallAttributes(XMLObject xmlObject,
Element domElement)
No
xs:anyAttribute attributes. |
protected void |
marshallElementContent(XMLObject xmlObject,
Element domElement)
No text content.
|
marshall, marshall, marshall, marshallChildElements, marshallInto, marshallNamespacePrefix, marshallNamespaces, marshallSchemaInstanceAttributes, marshallUnknownAttributes, setDocumentElementpublic AbstractElementExtensibleXMLObjectMarshaller()
protected void marshallAttributes(@Nonnull XMLObject xmlObject, @Nonnull Element domElement) throws MarshallingException
xs:anyAttribute attributes.
Marshalls a given XMLObject into a W3C Element. The given signing context should be blindly passed to the
marshaller for child elements. The XMLObject passed to this method is guaranteed to be of the target name
specified during this unmarshaller's construction.
This default implementation of this method is a no-opmarshallAttributes in class AbstractXMLObjectMarshallerxmlObject - the XMLObject to marshalldomElement - the W3C DOM elementMarshallingException - thrown if there is a problem marshalling the elementprotected void marshallElementContent(@Nonnull XMLObject xmlObject, @Nonnull Element domElement) throws MarshallingException
marshallElementContent in class AbstractXMLObjectMarshallerxmlObject - the XMLObjectdomElement - the DOM element recieving the contentMarshallingException - thrown if the textual content can not be added to the DOM elementCopyright © 1999–2015. All rights reserved.