org.opensaml.saml2.core.impl
Class AttributeUnmarshaller

java.lang.Object
  extended by org.opensaml.xml.io.AbstractXMLObjectUnmarshaller
      extended by org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller
          extended by org.opensaml.saml2.core.impl.AttributeUnmarshaller
All Implemented Interfaces:
Unmarshaller
Direct Known Subclasses:
RequestedAttributeUnmarshaller

public class AttributeUnmarshaller
extends AbstractSAMLObjectUnmarshaller

A thread-safe Unmarshaller for Attribute objects.


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

AttributeUnmarshaller

public AttributeUnmarshaller()
Constructor


AttributeUnmarshaller

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