Class XSQNameUnmarshaller
java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.core.xml.schema.impl.XSQNameUnmarshaller
- All Implemented Interfaces:
Unmarshaller
- Direct Known Subclasses:
AttributedQNameUnmarshaller
A thread-safe unmarshaller for
XSQName
s.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
unmarshallTextContent
(XMLObject xmlObject, Text content) Unmarshalls the given Text node into a usable string by way ofCharacterData.getData()
and passes it off toAbstractXMLObjectUnmarshaller.processElementContent(XMLObject, String)
if the string is not null and contains something other than whitespace.Methods inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkIDAttribute, processAttribute, processElementContent, processUnknownAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes
-
Constructor Details
-
XSQNameUnmarshaller
public XSQNameUnmarshaller()
-
-
Method Details
-
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:
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
-
unmarshallTextContent
protected void unmarshallTextContent(XMLObject xmlObject, Text content) throws UnmarshallingException Unmarshalls the given Text node into a usable string by way ofCharacterData.getData()
and passes it off toAbstractXMLObjectUnmarshaller.processElementContent(XMLObject, String)
if the string is not null and contains something other than whitespace.- Overrides:
unmarshallTextContent
in classAbstractXMLObjectUnmarshaller
- Parameters:
xmlObject
- the XMLObject receiving the element contentcontent
- the textual content- Throws:
UnmarshallingException
- thrown if there is a problem unmarshalling the text node
-