public class BodyMarshaller extends AbstractXMLObjectMarshaller
Body
s.Constructor and Description |
---|
BodyMarshaller() |
Modifier and Type | Method and Description |
---|---|
protected void |
marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
checkXMLObjectIsTarget, marshall, marshall, marshall, marshallChildElements, marshallInto, marshallNamespacePrefix, marshallNamespaces, marshallSchemaInstanceAttributes, setDocumentElement
protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException
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.