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
public class AssertionUnmarshaller extends AbstractSAMLObjectUnmarshaller
A thread-safe Unmarshaller for
Assertion
objects.-
Constructor Summary
Constructors Constructor Description AssertionUnmarshaller()
-
Method Summary
Modifier and Type Method Description protected void
processAttribute(XMLObject samlObject, Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.protected void
processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.XMLObject
unmarshall(Element domElement)
Unmarshalls the given W3C DOM element into a XMLObject.Methods inherited from class org.opensaml.saml.common.AbstractSAMLObjectUnmarshaller
parseSAMLVersion
Methods 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:
unmarshall
in interfaceUnmarshaller
- Overrides:
unmarshall
in 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(XMLObject parentSAMLObject, XMLObject childSAMLObject) 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:
processChildElement
in classAbstractXMLObjectUnmarshaller
- Parameters:
parentSAMLObject
- the parent XMLObjectchildSAMLObject
- the child XMLObject- Throws:
UnmarshallingException
- thrown if there is a problem adding the child to the parent
-
processAttribute
protected void processAttribute(XMLObject samlObject, 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:
processAttribute
in classAbstractXMLObjectUnmarshaller
- Parameters:
samlObject
- the XMLObjectattribute
- the attribute- Throws:
UnmarshallingException
- thrown if there is a problem adding the attribute to the XMLObject
-