public abstract class AbstractElementExtensibleXMLObjectMarshaller extends AbstractXMLObjectMarshaller
xs:any
, but without
xs:anyAttribute
attributes or text content.Modifier | Constructor and Description |
---|---|
|
AbstractElementExtensibleXMLObjectMarshaller()
Constructor.
|
protected |
AbstractElementExtensibleXMLObjectMarshaller(String targetNamespaceURI,
String targetLocalName)
Deprecated.
no replacement
|
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.
|
checkXMLObjectIsTarget, marshall, marshall, marshall, marshallChildElements, marshallInto, marshallNamespacePrefix, marshallNamespaces, marshallSchemaInstanceAttributes, setDocumentElement
public AbstractElementExtensibleXMLObjectMarshaller()
protected AbstractElementExtensibleXMLObjectMarshaller(String targetNamespaceURI, String targetLocalName)
targetNamespaceURI
- the namespace URI of either the schema type QName or element QName of the elements this
unmarshaller operates ontargetLocalName
- the local name of either the schema type QName or element QName of the elements this
unmarshaller operates onprotected void marshallAttributes(XMLObject xmlObject, 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.marshallAttributes
in class AbstractXMLObjectMarshaller
xmlObject
- the XMLObject to marshalldomElement
- the W3C DOM elementMarshallingException
- thrown if there is a problem marshalling the elementprotected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException
marshallElementContent
in class AbstractXMLObjectMarshaller
xmlObject
- the XMLObjectdomElement
- the DOM element recieving the contentMarshallingException
- thrown if the textual content can not be added to the DOM elementCopyright © 2018 JBoss by Red Hat. All rights reserved.