Class AttributedStringUnmarshaller
java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.soap.wssecurity.impl.AbstractWSSecurityObjectUnmarshaller
org.opensaml.soap.wssecurity.impl.AttributedStringUnmarshaller
- All Implemented Interfaces:
Unmarshaller
- Direct Known Subclasses:
EncodedStringUnmarshaller,PasswordUnmarshaller,UsernameUnmarshaller
Unmarshaller for instances of
AttributedString.-
Field Summary
Fields inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
CONFIG_PROPERTY_XML_STRICT_MODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocessAttribute(XMLObject xmlObject, Attr attribute) Called after an attribute has been unmarshalled so that it can be added to the 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, processChildElement, processUnknownAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent
-
Constructor Details
-
AttributedStringUnmarshaller
public AttributedStringUnmarshaller()
-
-
Method Details
-
processAttribute
protected void processAttribute(@Nonnull XMLObject xmlObject, @Nonnull 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
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
-