XML Security, 1.6

com.ibm.xml.enc.dom
Class DOMReferenceList

java.lang.Object
  extended by com.ibm.xml.enc.dom.DOMStructure
      extended by com.ibm.xml.enc.dom.DOMReferenceList
All Implemented Interfaces:
XMLStructure

public final class DOMReferenceList
extends DOMStructure

DOM-based implementation of ReferenceList.


Constructor Summary
DOMReferenceList(org.w3c.dom.Element refElem)
          Creates a DOMReferenceList from an element.
DOMReferenceList(java.util.List references)
          Creates a Reference from the specified parameters.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.List getReferenceList()
          Returns the unmodifiable references list
 void marshal(org.w3c.dom.Node parent, java.lang.String encPrefix, DOMCryptoContext context)
           
 
Methods inherited from class com.ibm.xml.enc.dom.DOMStructure
isFeatureSupported
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMReferenceList

public DOMReferenceList(java.util.List references)
Creates a Reference from the specified parameters.

Parameters:
references - the ReferenceList
Throws:
java.lang.NullPointerException - if references is null
java.lang.ClassCastException - if any of the references are not of type DOMReferenceType

DOMReferenceList

public DOMReferenceList(org.w3c.dom.Element refElem)
                 throws MarshalException
Creates a DOMReferenceList from an element.

Parameters:
refElem - a Reference element
Throws:
MarshalException
Method Detail

getReferenceList

public java.util.List getReferenceList()
Returns the unmodifiable references list


marshal

public void marshal(org.w3c.dom.Node parent,
                    java.lang.String encPrefix,
                    DOMCryptoContext context)
             throws MarshalException
Specified by:
marshal in class DOMStructure
Throws:
MarshalException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

XML Security, 1.6

Portions Copyright 2003, 2012 IBM Corporation.
Portions Copyright 2003, 2012 Oracle and/or its affiliates.