|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.common.impl.AbstractSAMLObjectUnmarshaller
public abstract class AbstractSAMLObjectUnmarshaller
An thread safe abstract unmarshaller. This abstract marshaller only works with
AbstractSAMLObject
.
Constructor Summary | |
---|---|
protected |
AbstractSAMLObjectUnmarshaller(java.lang.String targetNamespaceURI,
java.lang.String targetLocalName)
Constructor. |
Method Summary | |
---|---|
protected void |
processAttribute(XMLObject samlObject,
org.w3c.dom.Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject. |
protected void |
processChildElement(XMLObject parentSAMLObject,
XMLObject childSAMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject. |
protected void |
processElementContent(XMLObject samlObject,
java.lang.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.xml.io.AbstractXMLObjectUnmarshaller |
---|
buildXMLObject, checkElementIsTarget, checkIDAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes, unmarshallTextContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractSAMLObjectUnmarshaller(java.lang.String targetNamespaceURI, java.lang.String targetLocalName)
targetNamespaceURI
- the namespace URI of either the schema type QName or element QName of the elements this
unmarshaller operates ontargetLocalName
- the local name of either the schema type QName or element QName of the elements this
unmarshaller operates onMethod Detail |
---|
protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject) throws UnmarshallingException
processChildElement
in class AbstractXMLObjectUnmarshaller
parentSAMLObject
- the parent XMLObjectchildSAMLObject
- the child XMLObject
UnmarshallingException
- thrown if there is a problem adding the child to the parentprotected void processAttribute(XMLObject samlObject, org.w3c.dom.Attr attribute) throws UnmarshallingException
processAttribute
in class AbstractXMLObjectUnmarshaller
samlObject
- the XMLObjectattribute
- the attribute
UnmarshallingException
- thrown if there is a problem adding the attribute to the XMLObjectprotected void processElementContent(XMLObject samlObject, java.lang.String elementContent)
processElementContent
in class AbstractXMLObjectUnmarshaller
samlObject
- XMLObject the content will be given toelementContent
- the Element's content
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |