|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.io.AbstractXMLObjectUnmarshaller org.opensaml.xml.schema.impl.XSQNameUnmarshaller
public class XSQNameUnmarshaller
A thread-safe unmarshaller for XSQName
s.
Constructor Summary | |
---|---|
XSQNameUnmarshaller()
|
Method Summary | |
---|---|
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. |
protected void |
unmarshallTextContent(XMLObject xmlObject,
Text content)
Unmarshalls the given Text node into a usable string by way of Text.getWholeText() and passes it off to
AbstractXMLObjectUnmarshaller.processElementContent(XMLObject, String) if the string is not null and
contains something other than whitespace. |
Methods inherited from class org.opensaml.xml.io.AbstractXMLObjectUnmarshaller |
---|
buildXMLObject, checkElementIsTarget, checkIDAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSQNameUnmarshaller()
Method Detail |
---|
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject) throws UnmarshallingException
processChildElement
in class AbstractXMLObjectUnmarshaller
parentXMLObject
- the parent XMLObjectchildXMLObject
- the child XMLObject
UnmarshallingException
- thrown if there is a problem adding the child to the parentprotected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException
processAttribute
in class AbstractXMLObjectUnmarshaller
xmlObject
- the XMLObjectattribute
- the attribute
UnmarshallingException
- thrown if there is a problem adding the attribute to the XMLObjectprotected void processElementContent(XMLObject xmlObject, String elementContent)
processElementContent
in class AbstractXMLObjectUnmarshaller
xmlObject
- XMLObject the content will be given toelementContent
- the Element's contentprotected void unmarshallTextContent(XMLObject xmlObject, Text content) throws UnmarshallingException
Text.getWholeText()
and passes it off to
AbstractXMLObjectUnmarshaller.processElementContent(XMLObject, String)
if the string is not null and
contains something other than whitespace.
unmarshallTextContent
in class AbstractXMLObjectUnmarshaller
xmlObject
- the XMLObject recieving the element contentcontent
- the textual content
UnmarshallingException
- thrown if there is a problem unmarshalling the text node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |