com.ibm.xml.enc.dom
Class DOMReferenceList
java.lang.Object
com.ibm.xml.enc.dom.DOMStructure
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
Portions Copyright 2003, 2012 IBM Corporation.
Portions Copyright 2003, 2012 Oracle and/or its affiliates.