Class AbstractXMLSignatureUnmarshaller
java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.xmlsec.signature.impl.AbstractXMLSignatureUnmarshaller
- All Implemented Interfaces:
Unmarshaller
- Direct Known Subclasses:
DigestMethodUnmarshaller
,DSAKeyValueUnmarshaller
,ECKeyValueUnmarshaller
,KeyInfoReferenceUnmarshaller
,KeyInfoUnmarshaller
,KeyValueUnmarshaller
,NamedCurveUnmarshaller
,PGPDataUnmarshaller
,RetrievalMethodUnmarshaller
,RSAKeyValueUnmarshaller
,SPKIDataUnmarshaller
,TransformsUnmarshaller
,TransformUnmarshaller
,X509DataUnmarshaller
,X509IssuerSerialUnmarshaller
public abstract class AbstractXMLSignatureUnmarshaller extends AbstractXMLObjectUnmarshaller
An abstract unmarshaller implementation for XMLObjects from XML Signature.
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
log
Logger. -
Constructor Summary
Constructors Constructor Description AbstractXMLSignatureUnmarshaller()
-
Method Summary
Modifier and Type Method Description protected void
processAttribute(XMLObject xmlObject, Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.protected void
processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.protected void
processElementContent(XMLObject xmlObject, 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.core.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkIDAttribute, processUnknownAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent
-
Field Details
-
log
private final org.slf4j.Logger logLogger.
-
-
Constructor Details
-
AbstractXMLSignatureUnmarshaller
public AbstractXMLSignatureUnmarshaller()
-
-
Method Details
-
processChildElement
protected void processChildElement(@Nonnull XMLObject parentXMLObject, @Nonnull XMLObject childXMLObject) 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:
parentXMLObject
- the parent XMLObjectchildXMLObject
- the child XMLObject- Throws:
UnmarshallingException
- thrown if there is a problem adding the child to the parent
-
processAttribute
protected void processAttribute(@Nonnull XMLObject xmlObject, @Nonnull 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:
xmlObject
- the XMLObjectattribute
- the attribute- Throws:
UnmarshallingException
- thrown if there is a problem adding the attribute to the XMLObject
-
processElementContent
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject. The default implementation of this method is a no-op- Overrides:
processElementContent
in classAbstractXMLObjectUnmarshaller
- Parameters:
xmlObject
- XMLObject the content will be given toelementContent
- the Element's content
-