org.opensaml.saml2.core.impl
Class AbstractNameIDTypeUnmarshaller
java.lang.Object
org.opensaml.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 ontargetLocalName
- 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)
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 XMLObjectattribute
- 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 toelementContent
- the Element's content