org.opensaml.saml1.core.impl
Class ResponseAbstractTypeUnmarshaller

java.lang.Object
  extended by org.opensaml.xml.io.AbstractXMLObjectUnmarshaller
      extended by org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller
          extended by org.opensaml.saml1.core.impl.ResponseAbstractTypeUnmarshaller
All Implemented Interfaces:
Unmarshaller
Direct Known Subclasses:
ResponseUnmarshaller

public abstract class ResponseAbstractTypeUnmarshaller
extends AbstractSAMLObjectUnmarshaller

A thread-safe Unmarshaller for ResponseAbstractType objects.


Constructor Summary
protected ResponseAbstractTypeUnmarshaller(java.lang.String targetNamespaceURI, java.lang.String targetLocalName)
          Constructor.
 
Method Summary
protected  void processAttribute(XMLObject samlObject, org.w3c.dom.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(org.w3c.dom.Element domElement)
          Unmarshalls the given W3C DOM element into a XMLObject.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller
processElementContent
 
Methods inherited from class org.opensaml.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkElementIsTarget, checkIDAttribute, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseAbstractTypeUnmarshaller

protected ResponseAbstractTypeUnmarshaller(java.lang.String targetNamespaceURI,
                                           java.lang.String targetLocalName)
                                    throws java.lang.IllegalArgumentException
Constructor.

Parameters:
targetNamespaceURI -
targetLocalName -
Throws:
java.lang.IllegalArgumentException
Method Detail

unmarshall

public XMLObject unmarshall(org.w3c.dom.Element domElement)
                     throws UnmarshallingException
Unmarshalls the given W3C DOM element into a XMLObject.

Specified by:
unmarshall in interface Unmarshaller
Overrides:
unmarshall in class AbstractXMLObjectUnmarshaller
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 UnmarshallingException
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.

Overrides:
processChildElement in class AbstractSAMLObjectUnmarshaller
Parameters:
parentSAMLObject - the parent XMLObject
childSAMLObject - the child XMLObject
Throws:
UnmarshallingException - thrown if there is a problem adding the child to the parent

processAttribute

protected void processAttribute(XMLObject samlObject,
                                org.w3c.dom.Attr attribute)
                         throws UnmarshallingException
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.

Overrides:
processAttribute in class AbstractSAMLObjectUnmarshaller
Parameters:
samlObject - the XMLObject
attribute - the attribute
Throws:
UnmarshallingException - thrown if there is a problem adding the attribute to the XMLObject