public abstract class AbstractElementExtensibleXMLObjectUnmarshaller extends AbstractXMLObjectUnmarshaller
xs:any
, but without
xs:anyAttribute
attributes or text content.Constructor and Description |
---|
AbstractElementExtensibleXMLObjectUnmarshaller()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
processAttribute(XMLObject xmlObject,
Attr attribute)
No
xs:anyAttribute attribute. |
protected void |
processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Unmarshalls all child elements in the
xs:any list. |
protected void |
processElementContent(XMLObject xmlObject,
String elementContent)
No text content.
|
buildXMLObject, checkIDAttribute, processUnknownAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent
public AbstractElementExtensibleXMLObjectUnmarshaller()
protected void processChildElement(@Nonnull XMLObject parentXMLObject, @Nonnull XMLObject childXMLObject) throws UnmarshallingException
xs:any
list.
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
The default implementation of this method is a no-op.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(@Nonnull XMLObject xmlObject, @Nonnull Attr attribute) throws UnmarshallingException
xs:anyAttribute
attribute.
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
The default implementation of this method is a no-opprocessAttribute
in class AbstractXMLObjectUnmarshaller
xmlObject
- the XMLObjectattribute
- the attributeUnmarshallingException
- thrown if there is a problem adding the attribute to the XMLObjectprotected void processElementContent(@Nonnull XMLObject xmlObject, @Nonnull String elementContent)
processElementContent
in class AbstractXMLObjectUnmarshaller
xmlObject
- XMLObject the content will be given toelementContent
- the Element's contentCopyright © 2016 JBoss by Red Hat. All rights reserved.