public class BodyUnmarshaller extends AbstractXMLObjectUnmarshaller
Body
s.Constructor and Description |
---|
BodyUnmarshaller() |
Modifier and Type | Method and Description |
---|---|
protected void |
processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
buildXMLObject, checkElementIsTarget, checkIDAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException
processChildElement
in class AbstractXMLObjectUnmarshaller
parentXMLObject
- the parent XMLObjectchildXMLObject
- the child XMLObjectUnmarshallingException
- thrown if there is a problem adding the child to the parentprotected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException
processAttribute
in class AbstractXMLObjectUnmarshaller
xmlObject
- the XMLObjectattribute
- the attributeUnmarshallingException
- thrown if there is a problem adding the attribute to the XMLObjectprotected void processElementContent(XMLObject xmlObject, String elementContent)
processElementContent
in class AbstractXMLObjectUnmarshaller
xmlObject
- XMLObject the content will be given toelementContent
- the Element's contentCopyright © 2018 JBoss by Red Hat. All rights reserved.