org.opensaml.xml.encryption.impl
Class CipherReferenceImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xml.encryption.impl.CipherReferenceImpl
All Implemented Interfaces:
CipherReference, ValidatingXMLObject, XMLObject

public class CipherReferenceImpl
extends AbstractValidatingXMLObject
implements CipherReference

Concrete implementation of CipherReference.


Field Summary
private  Transforms transforms
          Transforms child element value.
private  String uri
          URI attribute value.
 
Fields inherited from interface org.opensaml.xml.encryption.CipherReference
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME, URI_ATTRIB_NAME
 
Constructor Summary
protected CipherReferenceImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<XMLObject> getOrderedChildren()
          Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
 Transforms getTransforms()
          Get the Transforms child element, which describes which transformations to apply when dereferencing the data.
 String getURI()
          Get the URI attribute that describes from where to deference the encrypted data.
 void setTransforms(Transforms newTransforms)
          Set the Transforms child element, which describes which transformations to apply when dereferencing the data.
 void setURI(String newURI)
          Set the URI attribute that describes from where to deference the encrypted data.
 
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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, 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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

uri

private String uri
URI attribute value.


transforms

private Transforms transforms
Transforms child element value.

Constructor Detail

CipherReferenceImpl

protected CipherReferenceImpl(String namespaceURI,
                              String elementLocalName,
                              String namespacePrefix)
Constructor.

Parameters:
namespaceURI - namespace URI
elementLocalName - local name
namespacePrefix - namespace prefix
Method Detail

getURI

public String getURI()
Get the URI attribute that describes from where to deference the encrypted data.

Specified by:
getURI in interface CipherReference
Returns:
the URI attribute string

setURI

public void setURI(String newURI)
Set the URI attribute that describes from where to deference the encrypted data.

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

getTransforms

public Transforms getTransforms()
Get the Transforms child element, which describes which transformations to apply when dereferencing the data.

Specified by:
getTransforms in interface CipherReference
Returns:
the Transforms child element

setTransforms

public void setTransforms(Transforms newTransforms)
Set the Transforms child element, which describes which transformations to apply when dereferencing the data.

Specified by:
setTransforms in interface CipherReference
Parameters:
newTransforms - the new Transforms child element

getOrderedChildren

public 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 © 1999-2013. All Rights Reserved.