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
ReferenceImplis an implementation ofReference.- See Also:
Reference
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<org.w3c.dom.Element>referenceInformationprivate java.lang.Stringuri
-
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 voidaddElementRetrievalInformation(org.w3c.dom.Element node)Adds retrieval information.java.util.Iterator<org.w3c.dom.Element>getElementRetrievalInformation()Returns anIteratorover all the child elements contained in thisReferencethat will aid the recipient in retrieving theEncryptedKeyand/orEncryptedDataelements.abstract java.lang.StringgetType()Returns theElementtag name for thisReference.java.lang.StringgetURI()Returns aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.voidremoveElementRetrievalInformation(org.w3c.dom.Element node)Removes the specified retrieval information.voidsetURI(java.lang.String uri)Sets aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.org.w3c.dom.ElementtoElement()
-
-
-
Method Detail
-
getType
public abstract java.lang.String getType()
Returns theElementtag name for thisReference.
-
getURI
public java.lang.String getURI()
Returns aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.
-
getElementRetrievalInformation
public java.util.Iterator<org.w3c.dom.Element> 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
public void setURI(java.lang.String uri)
Sets aURIthat points to anElementthat were encrypted using the key defined in the enclosingEncryptedKeyelement.
-
removeElementRetrievalInformation
public void removeElementRetrievalInformation(org.w3c.dom.Element node)
Removes the specified retrieval information.- Specified by:
removeElementRetrievalInformationin interfaceReference
-
addElementRetrievalInformation
public void addElementRetrievalInformation(org.w3c.dom.Element node)
Adds retrieval information.- Specified by:
addElementRetrievalInformationin interfaceReference
-
toElement
public org.w3c.dom.Element toElement()
- Returns:
- the XML Element form of that Reference
-
-