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 java.lang.Object implements Reference
ReferenceImpl
is an implementation ofReference
.- See Also:
Reference
-
-
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 anIterator
over all the child elements contained in thisReference
that will aid the recipient in retrieving theEncryptedKey
and/orEncryptedData
elements.abstract java.lang.String
getType()
Returns theElement
tag name for thisReference
.java.lang.String
getURI()
Returns aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.void
removeElementRetrievalInformation(org.w3c.dom.Element node)
Removes the specified retrieval information.void
setURI(java.lang.String uri)
Sets aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.org.w3c.dom.Element
toElement()
-
-
-
Method Detail
-
getType
public abstract java.lang.String getType()
Returns theElement
tag name for thisReference
.
-
getURI
public java.lang.String getURI()
Returns aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.
-
getElementRetrievalInformation
public java.util.Iterator<org.w3c.dom.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
public void setURI(java.lang.String uri)
Sets aURI
that points to anElement
that were encrypted using the key defined in the enclosingEncryptedKey
element.
-
removeElementRetrievalInformation
public void removeElementRetrievalInformation(org.w3c.dom.Element node)
Removes the specified retrieval information.- Specified by:
removeElementRetrievalInformation
in interfaceReference
-
addElementRetrievalInformation
public void addElementRetrievalInformation(org.w3c.dom.Element node)
Adds retrieval information.- Specified by:
addElementRetrievalInformation
in interfaceReference
-
toElement
public org.w3c.dom.Element toElement()
- Returns:
- the XML Element form of that Reference
-
-