Class XMLCipher.Factory.ReferenceListImpl.ReferenceImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<org.w3c.dom.Element> referenceInformation  
      private java.lang.String uri  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReferenceImpl​(java.lang.String uri)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void addElementRetrievalInformation​(org.w3c.dom.Element node)
      Adds retrieval information.
      java.util.Iterator<org.w3c.dom.Element> getElementRetrievalInformation()
      Returns an Iterator over all the child elements contained in this Reference that will aid the recipient in retrieving the EncryptedKey and/or EncryptedData elements.
      abstract java.lang.String getType()
      Returns the Element tag name for this Reference.
      java.lang.String getURI()
      Returns a URI that points to an Element that were encrypted using the key defined in the enclosing EncryptedKey element.
      void removeElementRetrievalInformation​(org.w3c.dom.Element node)
      Removes the specified retrieval information.
      void setURI​(java.lang.String uri)
      Sets a URI that points to an Element that were encrypted using the key defined in the enclosing EncryptedKey element.
      org.w3c.dom.Element toElement()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • uri

        private java.lang.String uri
      • referenceInformation

        private java.util.List<org.w3c.dom.Element> referenceInformation
    • Constructor Detail

      • ReferenceImpl

        ReferenceImpl​(java.lang.String uri)
    • Method Detail

      • getType

        public abstract java.lang.String getType()
        Returns the Element tag name for this Reference.
        Specified by:
        getType in interface Reference
        Returns:
        the tag name of this Reference.
      • getURI

        public java.lang.String getURI()
        Returns a URI that points to an Element that were encrypted using the key defined in the enclosing EncryptedKey element.
        Specified by:
        getURI in interface Reference
        Returns:
        an Uniform Resource Identifier that qualifies an EncryptedType.
      • getElementRetrievalInformation

        public java.util.Iterator<org.w3c.dom.Element> getElementRetrievalInformation()
        Returns an Iterator over all the child elements contained in this Reference that will aid the recipient in retrieving the EncryptedKey and/or EncryptedData elements. These could include information such as XPath transforms, decompression transforms, or information on how to retrieve the elements from a document storage facility.
        Specified by:
        getElementRetrievalInformation in interface Reference
        Returns:
        child elements.
      • setURI

        public void setURI​(java.lang.String uri)
        Sets a URI that points to an Element that were encrypted using the key defined in the enclosing EncryptedKey element.
        Specified by:
        setURI in interface Reference
        Parameters:
        uri - the Uniform Resource Identifier that qualifies an EncryptedType.
      • removeElementRetrievalInformation

        public void removeElementRetrievalInformation​(org.w3c.dom.Element node)
        Removes the specified retrieval information.
        Specified by:
        removeElementRetrievalInformation in interface Reference
      • addElementRetrievalInformation

        public void addElementRetrievalInformation​(org.w3c.dom.Element node)
        Adds retrieval information.
        Specified by:
        addElementRetrievalInformation in interface Reference
      • toElement

        public org.w3c.dom.Element toElement()
        Returns:
        the XML Element form of that Reference