Class CipherReferenceImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.CipherReferenceImpl
All Implemented Interfaces:
XMLObject, CipherReference

public class CipherReferenceImpl
extends AbstractXMLObject
implements CipherReference
Concrete implementation of CipherReference.
  • Field Details

    • uri

      private String uri
      URI attribute value.
    • transforms

      private Transforms transforms
      Transforms child element value.
  • Constructor Details

    • CipherReferenceImpl

      protected CipherReferenceImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - namespace URI
      elementLocalName - local name
      namespacePrefix - namespace prefix
  • Method Details

    • 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