Class RoleDescriptorUnmarshaller
java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.saml.common.AbstractSAMLObjectUnmarshaller
org.opensaml.saml.saml2.metadata.impl.RoleDescriptorUnmarshaller
- All Implemented Interfaces:
Unmarshaller
- Direct Known Subclasses:
AttributeAuthorityDescriptorUnmarshaller
,AuthnAuthorityDescriptorUnmarshaller
,PDPDescriptorUnmarshaller
,QueryDescriptorTypeUnmarshaller
,SSODescriptorUnmarshaller
public abstract class RoleDescriptorUnmarshaller extends AbstractSAMLObjectUnmarshaller
A thread safe Unmarshaller for
RoleDescriptor
objects.-
Constructor Summary
Constructors Constructor Description RoleDescriptorUnmarshaller()
-
Method Summary
Modifier and Type Method Description protected void
processAttribute(XMLObject samlObject, 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.saml.common.AbstractSAMLObjectUnmarshaller
parseSAMLVersion
Methods inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkIDAttribute, processElementContent, processUnknownAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent
-
Constructor Details
-
RoleDescriptorUnmarshaller
public RoleDescriptorUnmarshaller()
-
-
Method Details
-
processChildElement
protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject) throws UnmarshallingExceptionCalled after a child element has been unmarshalled so that it can be added to the parent XMLObject. The default implementation of this method is a no-op.- Overrides:
processChildElement
in classAbstractXMLObjectUnmarshaller
- Parameters:
parentSAMLObject
- the parent XMLObjectchildSAMLObject
- the child XMLObject- Throws:
UnmarshallingException
- thrown if there is a problem adding the child to the parent
-
processAttribute
protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingExceptionCalled after an attribute has been unmarshalled so that it can be added to the XMLObject. The default implementation of this method is a no-op- Overrides:
processAttribute
in classAbstractXMLObjectUnmarshaller
- Parameters:
samlObject
- the XMLObjectattribute
- the attribute- Throws:
UnmarshallingException
- thrown if there is a problem adding the attribute to the XMLObject
-