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
private abstract class XMLCipher.Factory.ReferenceListImpl.ReferenceImpl
extends Object
implements Reference
ReferenceImpl
is an implementation of
Reference
.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds retrieval information.Returns anIterator
over all the child elements contained in thisReference
that will aid the recipient in retrieving theEncryptedKey
and/orEncryptedData
elements.abstract String
getType()
Returns theElement
tag name for thisReference
.getURI()
Returns aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.void
Removes the specified retrieval information.void
Sets aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.
-
Field Details
-
uri
-
referenceInformation
-
-
Constructor Details
-
ReferenceImpl
ReferenceImpl(String uri)
-
-
Method Details
-
getType
Returns theElement
tag name for thisReference
. -
getURI
Returns aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element. -
getElementRetrievalInformation
Returns anIterator
over all the child elements contained in thisReference
that will aid the recipient in retrieving theEncryptedKey
and/orEncryptedData
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 interfaceReference
- Returns:
- child elements.
-
setURI
Sets aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element. -
removeElementRetrievalInformation
Removes the specified retrieval information.- Specified by:
removeElementRetrievalInformation
in interfaceReference
- Parameters:
node
-
-
addElementRetrievalInformation
Adds retrieval information.- Specified by:
addElementRetrievalInformation
in interfaceReference
- Parameters:
node
-
-
toElement
- Returns:
- the XML Element form of that Reference
-