Package org.opensaml.core.xml
Class AbstractElementExtensibleXMLObjectUnmarshaller
java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.core.xml.AbstractElementExtensibleXMLObjectUnmarshaller
- All Implemented Interfaces:
Unmarshaller
- Direct Known Subclasses:
AbstractExtensibleXMLObjectUnmarshaller
public abstract class AbstractElementExtensibleXMLObjectUnmarshaller
extends AbstractXMLObjectUnmarshaller
AbstractElementExtensibleUnmarshaller unmarshalls element of type
xs:any, but without
xs:anyAttribute attributes or text content.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessAttribute(XMLObject xmlObject, Attr attribute) Noxs:anyAttributeattribute.protected voidprocessChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) Unmarshalls all child elements in thexs:anylist.protected voidprocessElementContent(XMLObject xmlObject, String elementContent) No text content.Methods inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkIDAttribute, processUnknownAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent
-
Constructor Details
-
AbstractElementExtensibleXMLObjectUnmarshaller
public AbstractElementExtensibleXMLObjectUnmarshaller()Constructor.
-
-
Method Details
-
processChildElement
protected void processChildElement(@Nonnull XMLObject parentXMLObject, @Nonnull XMLObject childXMLObject) throws UnmarshallingException Unmarshalls all child elements in thexs:anylist. 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.- Overrides:
processChildElementin classAbstractXMLObjectUnmarshaller- Parameters:
parentXMLObject- the parent XMLObjectchildXMLObject- the child XMLObject- Throws:
UnmarshallingException- thrown if there is a problem adding the child to the parent
-
processAttribute
protected void processAttribute(@Nonnull XMLObject xmlObject, @Nonnull Attr attribute) throws UnmarshallingException Noxs:anyAttributeattribute. 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-op- Overrides:
processAttributein classAbstractXMLObjectUnmarshaller- Parameters:
xmlObject- the XMLObjectattribute- the attribute- Throws:
UnmarshallingException- thrown if there is a problem adding the attribute to the XMLObject
-
processElementContent
No text content. Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject. The default implementation of this method is a no-op- Overrides:
processElementContentin classAbstractXMLObjectUnmarshaller- Parameters:
xmlObject- XMLObject the content will be given toelementContent- the Element's content
-