|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ReferenceList
is an element that contains pointers from a key
value of an EncryptedKey
to items encrypted by that key value
(EncryptedData
or EncryptedKey
elements).
It is defined as follows:
Reference
Field Summary | |
static int |
DATA_REFERENCE
DATA TAG |
static int |
KEY_REFERENCE
KEY TAG |
Method Summary | |
void |
add(Reference reference)
Adds a reference to this reference list. |
java.util.Iterator |
getReferences()
Returns an Iterator over all the Reference s
contatined in this ReferenceList . |
boolean |
isEmpty()
Indicates if the ReferenceList is empty. |
Reference |
newDataReference(java.lang.String uri)
DataReference factory method. |
Reference |
newKeyReference(java.lang.String uri)
KeyReference factory method. |
void |
remove(Reference reference)
Removes a reference from the ReferenceList . |
int |
size()
Returns the size of the ReferenceList . |
Field Detail |
public static final int DATA_REFERENCE
public static final int KEY_REFERENCE
Method Detail |
public void add(Reference reference)
reference
- the reference to add.
java.lang.IllegalAccessException
- if the Reference
is not an
instance of DataReference
or KeyReference
.public void remove(Reference reference)
ReferenceList
.
reference
- the reference to remove.public int size()
ReferenceList
.
ReferenceList
.public boolean isEmpty()
ReferenceList
is empty.
true
if the ReferenceList
is
empty, else false
.public java.util.Iterator getReferences()
Iterator
over all the Reference
s
contatined in this ReferenceList
.
public Reference newDataReference(java.lang.String uri)
DataReference
factory method. Returns a
DataReference
.
uri
-
public Reference newKeyReference(java.lang.String uri)
KeyReference
factory method. Returns a
KeyReference
.
uri
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |