Class EndpointUnmarshaller
java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.saml.common.AbstractSAMLObjectUnmarshaller
org.opensaml.saml.saml2.metadata.impl.EndpointUnmarshaller
- All Implemented Interfaces:
Unmarshaller
- Direct Known Subclasses:
IndexedEndpointUnmarshaller
public class EndpointUnmarshaller extends AbstractSAMLObjectUnmarshaller
A thread-safe unmarshaller for
Endpoint
objects.-
Constructor Summary
Constructors Constructor Description EndpointUnmarshaller()
-
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
-
EndpointUnmarshaller
public EndpointUnmarshaller()
-
-
Method Details
-
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
-
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
-