Class XMLCipher.Factory.ReferenceListImpl.ReferenceImpl
java.lang.Object
org.apache.xml.security.encryption.XMLCipher.Factory.ReferenceListImpl.ReferenceImpl
- All Implemented Interfaces:
Reference
- Direct Known Subclasses:
XMLCipher.Factory.ReferenceListImpl.DataReference, XMLCipher.Factory.ReferenceListImpl.KeyReference
- Enclosing class:
XMLCipher.Factory.ReferenceListImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds retrieval information.Returns anIteratorover all the child elements contained in thisReferencethat will aid the recipient in retrieving theEncryptedKeyand/orEncryptedDataelements.abstract StringgetType()Returns theElementtag name for thisReference.getURI()Returns aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.voidRemoves the specified retrieval information.voidSets aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.
-
Field Details
-
uri
-
referenceInformation
-
-
Constructor Details
-
ReferenceImpl
ReferenceImpl(String uri)
-
-
Method Details
-
getType
-
getURI
-
getElementRetrievalInformation
Returns anIteratorover all the child elements contained in thisReferencethat will aid the recipient in retrieving theEncryptedKeyand/orEncryptedDataelements. 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:
getElementRetrievalInformationin interfaceReference- Returns:
- child elements.
-
setURI
-
removeElementRetrievalInformation
Removes the specified retrieval information.- Specified by:
removeElementRetrievalInformationin interfaceReference- Parameters:
node-
-
addElementRetrievalInformation
Adds retrieval information.- Specified by:
addElementRetrievalInformationin interfaceReference- Parameters:
node-
-
toElement
- Returns:
- the XML Element form of that Reference
-