Class XSAnyUnmarshaller
- java.lang.Object
-
- org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
-
- org.opensaml.core.xml.schema.impl.XSAnyUnmarshaller
-
- All Implemented Interfaces:
Unmarshaller
public class XSAnyUnmarshaller extends AbstractXMLObjectUnmarshaller
A thread-safe unmarshaller forXSAnys.
-
-
Constructor Summary
Constructors Constructor Description XSAnyUnmarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocessAttribute(XMLObject xmlObject, Attr attribute)Called after an attribute has been unmarshalled so that it can be added to the XMLObject.protected voidprocessChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.protected voidprocessElementContent(XMLObject xmlObject, String elementContent)Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.-
Methods inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkIDAttribute, processUnknownAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent
-
-
-
-
Method Detail
-
processChildElement
protected void processChildElement(@Nonnull XMLObject parentXMLObject, @Nonnull XMLObject childXMLObject) throws UnmarshallingExceptionCalled 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 UnmarshallingExceptionCalled 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
protected void processElementContent(@Nonnull XMLObject xmlObject, @Nonnull String elementContent)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
-
-