org.opensaml.xml.schema.impl
Class XSAnyUnmarshaller
java.lang.Object
org.opensaml.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.xml.schema.impl.XSAnyUnmarshaller
- All Implemented Interfaces:
- Unmarshaller
public class XSAnyUnmarshaller
- extends AbstractXMLObjectUnmarshaller
A thread-safe unmarshaller for XSAny
s.
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSAnyUnmarshaller
public XSAnyUnmarshaller()
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.
- Specified by:
processChildElement
in class AbstractXMLObjectUnmarshaller
- 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.
- Specified by:
processAttribute
in class AbstractXMLObjectUnmarshaller
- 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.
- Specified by:
processElementContent
in class AbstractXMLObjectUnmarshaller
- Parameters:
xmlObject
- XMLObject the content will be given toelementContent
- the Element's content
Copyright © 1999-2012. All Rights Reserved.