org.opensaml.xml.encryption.impl
Class ReferenceTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xml.encryption.impl.ReferenceTypeImpl
All Implemented Interfaces:
ElementExtensibleXMLObject, ReferenceType, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
DataReferenceImpl, KeyReferenceImpl

public class ReferenceTypeImpl
extends AbstractValidatingXMLObject
implements ReferenceType

Concrete implementation of ReferenceType


Field Summary
 
Fields inherited from interface org.opensaml.xml.encryption.ReferenceType
TYPE_LOCAL_NAME, TYPE_NAME, URI_ATTRIB_NAME
 
Constructor Summary
protected ReferenceTypeImpl(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.
 java.util.List<XMLObject> getUnknownXMLObjects()
          Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
 java.util.List<XMLObject> getUnknownXMLObjects(javax.xml.namespace.QName typeOrName)
          Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.
 java.lang.String getURI()
          Get the URI attribute which indicates the referent of this reference.
 void setURI(java.lang.String newURI)
          Set the URI attribute which indicates the referent of this reference.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, 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, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

ReferenceTypeImpl

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

Parameters:
namespaceURI -
elementLocalName -
namespacePrefix -
Method Detail

getURI

public java.lang.String getURI()
Get the URI attribute which indicates the referent of this reference.

Specified by:
getURI in interface ReferenceType
Returns:
the URI referent attribute value

setURI

public void setURI(java.lang.String newURI)
Set the URI attribute which indicates the referent of this reference.

Specified by:
setURI in interface ReferenceType
Parameters:
newURI - the new URI attribute value

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

getUnknownXMLObjects

public java.util.List<XMLObject> getUnknownXMLObjects(javax.xml.namespace.QName typeOrName)
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject
Parameters:
typeOrName - the QName of the statements to return
Returns:
list of XMLObjects added to this XMLObject as part of the "any" content model

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


Copyright © 2006-2010 Internet2. All Rights Reserved.