Class RequestAbstractTypeUnmarshaller
java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.saml.common.AbstractSAMLObjectUnmarshaller
org.opensaml.saml.saml1.core.impl.RequestAbstractTypeUnmarshaller
- All Implemented Interfaces:
Unmarshaller
- Direct Known Subclasses:
RequestUnmarshaller
public abstract class RequestAbstractTypeUnmarshaller extends AbstractSAMLObjectUnmarshaller
A thread safe Unmarshaller for
RequestAbstractType
objects.-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
log
Logger. -
Constructor Summary
Constructors Constructor Description RequestAbstractTypeUnmarshaller()
-
Method Summary
Modifier and Type Method Description protected void
processAttribute(XMLObject samlElement, 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
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logLogger.
-
-
Constructor Details
-
RequestAbstractTypeUnmarshaller
public RequestAbstractTypeUnmarshaller()
-
-
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 samlElement, 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:
samlElement
- the XMLObjectattribute
- the attribute- Throws:
UnmarshallingException
- thrown if there is a problem adding the attribute to the XMLObject
-