org.apache.xml.security.encryption
Class ReferenceList

java.lang.Object
  |
  +--org.apache.xml.security.utils.ElementProxy
        |
        +--org.apache.xml.security.utils.EncryptionElementProxy
              |
              +--org.apache.xml.security.encryption.ReferenceList

public class ReferenceList
extends EncryptionElementProxy

This class maps to the xenc:ReferenceList element.

Author:
$Author: vdkoogh $

Field Summary
 
Fields inherited from class org.apache.xml.security.utils.ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
 
Constructor Summary
ReferenceList(org.w3c.dom.Document doc)
          Constructor ReferenceList
ReferenceList(org.w3c.dom.Element element, java.lang.String BaseURI)
          Constructor ReferenceList
 
Method Summary
 void add(DataReference dataReference)
          Method add
 void add(KeyReference keyReference)
          Method add
 java.lang.String getBaseLocalName()
          Returns the localname of the Elements of the sub-class.
 int getLengthDataReference()
          Method getLengthDataReference
 int getLengthKeyReference()
          Method getLengthKeyReference
 DataReference itemDataReference(int i)
          Method itemDataReference
 KeyReference itemKeyReference(int i)
          Method itemKeyReference
 
Methods inherited from class org.apache.xml.security.utils.EncryptionElementProxy
getBaseNamespace
 
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getChildElementLocalName, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceList

public ReferenceList(org.w3c.dom.Document doc)
Constructor ReferenceList

Parameters:
doc -

ReferenceList

public ReferenceList(org.w3c.dom.Element element,
                     java.lang.String BaseURI)
              throws XMLSecurityException
Constructor ReferenceList

Parameters:
element -
BaseURI -
Throws:
XMLSecurityException
Method Detail

add

public void add(DataReference dataReference)
Method add

Parameters:
dataReference -

add

public void add(KeyReference keyReference)
Method add

Parameters:
keyReference -

getLengthDataReference

public int getLengthDataReference()
Method getLengthDataReference


getLengthKeyReference

public int getLengthKeyReference()
Method getLengthKeyReference


itemDataReference

public DataReference itemDataReference(int i)
Method itemDataReference

Parameters:
i -

itemKeyReference

public KeyReference itemKeyReference(int i)
Method itemKeyReference

Parameters:
i -

getBaseLocalName

public java.lang.String getBaseLocalName()
Description copied from class: ElementProxy
Returns the localname of the Elements of the sub-class.

Specified by:
getBaseLocalName in class ElementProxy
Returns:
the localname of the Elements of the sub-class.