org.opensaml.xml
Class AbstractElementExtensibleXMLObjectUnmarshaller

java.lang.Object
  extended by org.opensaml.xml.io.AbstractXMLObjectUnmarshaller
      extended by org.opensaml.xml.AbstractElementExtensibleXMLObjectUnmarshaller
All Implemented Interfaces:
Unmarshaller
Direct Known Subclasses:
AbstractExtensibleXMLObjectUnmarshaller

public abstract class AbstractElementExtensibleXMLObjectUnmarshaller
extends AbstractXMLObjectUnmarshaller

AbstractElementExtensibleUnmarshaller unmarshalls element of type xs:any, but without xs:anyAttribute attributes or text content.


Constructor Summary
AbstractElementExtensibleXMLObjectUnmarshaller()
          Constructor.
AbstractElementExtensibleXMLObjectUnmarshaller(String targetNamespaceURI, String targetLocalName)
          Deprecated. no replacement
 
Method Summary
protected  void processAttribute(XMLObject xmlObject, Attr attribute)
          No xs:anyAttribute attribute.
protected  void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
          Unmarshalls all child elements in the xs:any list.
protected  void processElementContent(XMLObject xmlObject, String elementContent)
          No text content.
 
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

AbstractElementExtensibleXMLObjectUnmarshaller

public AbstractElementExtensibleXMLObjectUnmarshaller()
Constructor.


AbstractElementExtensibleXMLObjectUnmarshaller

public AbstractElementExtensibleXMLObjectUnmarshaller(String targetNamespaceURI,
                                                      String targetLocalName)
Deprecated. no replacement

Constructor.

Parameters:
targetNamespaceURI - the namespace URI of either the schema type QName or element QName of the elements this unmarshaller operates on
targetLocalName - the local name of either the schema type QName or element QName of the elements this unmarshaller operates on
Method Detail

processChildElement

protected void processChildElement(XMLObject parentXMLObject,
                                   XMLObject childXMLObject)
                            throws UnmarshallingException
Unmarshalls all child elements in the xs:any list. 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 XMLObject
childXMLObject - 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
No xs:anyAttribute attribute. 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 XMLObject
attribute - the attribute
Throws:
UnmarshallingException - thrown if there is a problem adding the attribute to the XMLObject

processElementContent

protected void processElementContent(XMLObject xmlObject,
                                     String elementContent)
No text content. 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 to
elementContent - the Element's content


Copyright © 1999-2013. All Rights Reserved.