Class AssertionUnmarshaller
java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.saml.common.AbstractSAMLObjectUnmarshaller
org.opensaml.saml.saml1.core.impl.AssertionUnmarshaller
- All Implemented Interfaces:
Unmarshaller
A thread-safe Unmarshaller for
Assertion objects.-
Field Summary
Fields inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
CONFIG_PROPERTY_XML_STRICT_MODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessAttribute(XMLObject xmlObject, Attr attribute) Called after an attribute has been unmarshalled so that it can be added to the XMLObject.protected voidprocessChildElement(XMLObject parentObject, XMLObject childObject) Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.unmarshall(Element domElement) Unmarshalls the given W3C DOM element into a XMLObject.Methods inherited from class org.opensaml.saml.common.AbstractSAMLObjectUnmarshaller
parseSAMLVersionMethods inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkIDAttribute, processElementContent, processUnknownAttribute, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent
-
Constructor Details
-
AssertionUnmarshaller
public AssertionUnmarshaller()
-
-
Method Details
-
unmarshall
Unmarshalls the given W3C DOM element into a XMLObject.- Specified by:
unmarshallin interfaceUnmarshaller- Overrides:
unmarshallin classAbstractXMLObjectUnmarshaller- Parameters:
domElement- the DOM Element- Returns:
- the unmarshalled XMLObject
- Throws:
UnmarshallingException- thrown if an error occurs unmarshalling the DOM element into the XMLObject
-
processChildElement
protected void processChildElement(@Nonnull XMLObject parentObject, @Nonnull XMLObject childObject) throws UnmarshallingException 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:
parentObject- the parent XMLObjectchildObject- 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 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
-