org.opensaml.saml2.core.impl
Class AbstractNameIDTypeUnmarshaller

java.lang.Object
  extended by org.opensaml.xml.io.AbstractXMLObjectUnmarshaller
      extended by org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller
          extended by org.opensaml.saml2.core.impl.AbstractNameIDTypeUnmarshaller
All Implemented Interfaces:
Unmarshaller
Direct Known Subclasses:
IssuerUnmarshaller, NameIDUnmarshaller, RespondToUnmarshaller

public abstract class AbstractNameIDTypeUnmarshaller
extends AbstractSAMLObjectUnmarshaller

A thread-safe Unmarshaller for NameIDType objects.


Constructor Summary
protected AbstractNameIDTypeUnmarshaller(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 processElementContent(XMLObject samlObject, java.lang.String elementContent)
          Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller
processChildElement
 
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

AbstractNameIDTypeUnmarshaller

protected AbstractNameIDTypeUnmarshaller(java.lang.String targetNamespaceURI,
                                         java.lang.String targetLocalName)
Constructor

Parameters:
targetNamespaceURI - the namespace URI of either the schema type QName or element QName of the elements this unmarshaller operates on
targetLocalName - the local name of either the schema type QName or element QName of the elements this unmarshaller operates on
Throws:
java.lang.NullPointerException - if any of the arguments are null (or empty in the case of String parameters)
Method Detail

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

processElementContent

protected void processElementContent(XMLObject samlObject,
                                     java.lang.String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.

Overrides:
processElementContent in class AbstractSAMLObjectUnmarshaller
Parameters:
samlObject - XMLObject the content will be given to
elementContent - the Element's content