org.opensaml.ws.soap.common
Class AbstractExtensibleSOAPObject

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.ws.soap.common.AbstractExtensibleSOAPObject
All Implemented Interfaces:
SOAPObject, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
BodyImpl, DetailImpl, EnvelopeImpl, HeaderImpl

public class AbstractExtensibleSOAPObject
extends AbstractValidatingXMLObject
implements SOAPObject, AttributeExtensibleXMLObject, ElementExtensibleXMLObject

Abstract class implementating validation and element and attribute extensibility.


Constructor Summary
protected AbstractExtensibleSOAPObject(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
          Constructor.
 
Method Summary
 java.util.List<XMLObject> getOrderedChildren()
          Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
 AttributeMap getUnknownAttributes()
          Gets a mutable map of the attributes.
 java.util.List<XMLObject> getUnknownXMLObjects()
          Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

AbstractExtensibleSOAPObject

protected AbstractExtensibleSOAPObject(java.lang.String namespaceURI,
                                       java.lang.String elementLocalName,
                                       java.lang.String namespacePrefix)
Constructor.

Parameters:
namespaceURI - namespace of the element
elementLocalName - name of the element
namespacePrefix - namespace prefix of the element
Method Detail

getOrderedChildren

public java.util.List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.

Specified by:
getOrderedChildren in interface XMLObject
Returns:
ordered list of child elements

getUnknownXMLObjects

public java.util.List<XMLObject> getUnknownXMLObjects()
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject
Returns:
list of XMLObjects added to this XMLObject as part of the "any" content model

getUnknownAttributes

public AttributeMap getUnknownAttributes()
Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.

Specified by:
getUnknownAttributes in interface AttributeExtensibleXMLObject
Returns:
a map of the attributes