org.opensaml.saml2.metadata.impl
Class EntitiesDescriptorUnmarshaller

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

public class EntitiesDescriptorUnmarshaller
extends AbstractSAMLObjectUnmarshaller

A thread safe Unmarshaller for EntitiesDescriptor objects.


Constructor Summary
  EntitiesDescriptorUnmarshaller()
          Constructor
protected EntitiesDescriptorUnmarshaller(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

EntitiesDescriptorUnmarshaller

public EntitiesDescriptorUnmarshaller()
Constructor

Throws:
XMLParserException - thrown if this Marshaller is unable to create a DatatypeFactory

EntitiesDescriptorUnmarshaller

protected EntitiesDescriptorUnmarshaller(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 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