Package org.opensaml.soap.wspolicy.impl
Class AbstractWSPolicyObjectUnmarshaller
- java.lang.Object
-
- org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
-
- org.opensaml.soap.wspolicy.impl.AbstractWSPolicyObjectUnmarshaller
-
- All Implemented Interfaces:
Unmarshaller
- Direct Known Subclasses:
AppliesToUnmarshaller,OperatorContentTypeUnmarshaller,PolicyAttachmentUnmarshaller,PolicyReferenceUnmarshaller
public abstract class AbstractWSPolicyObjectUnmarshaller extends AbstractXMLObjectUnmarshaller
An abstract unmarshaller implementation for XMLObjects from WS-Policy.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractWSPolicyObjectUnmarshaller()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocessAttribute(XMLObject xmlObject, Attr attribute)Called after an attribute has been unmarshalled so that it can be added to the XMLObject.protected voidprocessChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.protected voidprocessElementContent(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
-
-
-
-
Method Detail
-
processChildElement
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException
Called 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:
processChildElementin 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(XMLObject xmlObject, Attr attribute) throws UnmarshallingException
Called 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:
processAttributein classAbstractXMLObjectUnmarshaller- Parameters:
xmlObject- the XMLObjectattribute- the attribute- Throws:
UnmarshallingException- thrown if there is a problem adding the attribute to the XMLObject
-
processElementContent
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. The default implementation of this method is a no-op- Overrides:
processElementContentin classAbstractXMLObjectUnmarshaller- Parameters:
xmlObject- XMLObject the content will be given toelementContent- the Element's content
-
-