org.opensaml.saml2.metadata.impl
Class SPSSODescriptorUnmarshaller

java.lang.Object
  extended by org.opensaml.xml.io.AbstractXMLObjectUnmarshaller
      extended by org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller
          extended by org.opensaml.saml2.metadata.impl.RoleDescriptorUnmarshaller
              extended by org.opensaml.saml2.metadata.impl.SSODescriptorUnmarshaller
                  extended by org.opensaml.saml2.metadata.impl.SPSSODescriptorUnmarshaller
All Implemented Interfaces:
Unmarshaller

public class SPSSODescriptorUnmarshaller
extends SSODescriptorUnmarshaller

A thread safe Unmarshaller for SPSSODescriptor objects.


Constructor Summary
  SPSSODescriptorUnmarshaller()
          Constructor
protected SPSSODescriptorUnmarshaller(java.lang.String namespaceURI, java.lang.String elementLocalName)
          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.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller
processElementContent
 
Methods inherited from class org.opensaml.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkElementIsTarget, checkIDAttribute, unmarshall, 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

SPSSODescriptorUnmarshaller

public SPSSODescriptorUnmarshaller()
Constructor


SPSSODescriptorUnmarshaller

protected SPSSODescriptorUnmarshaller(java.lang.String namespaceURI,
                                      java.lang.String elementLocalName)
Constructor

Parameters:
namespaceURI -
elementLocalName -
Method Detail

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 SSODescriptorUnmarshaller
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 RoleDescriptorUnmarshaller
Parameters:
samlObject - the XMLObject
attribute - the attribute
Throws:
UnmarshallingException - thrown if there is a problem adding the attribute to the XMLObject