XML Security, 1.6

com.ibm.xml.enc.dom
Class DOMDataReference

java.lang.Object
  extended by com.ibm.xml.enc.dom.DOMStructure
      extended by com.ibm.xml.enc.dom.DOMReferenceType
          extended by com.ibm.xml.enc.dom.DOMDataReference
All Implemented Interfaces:
DOMURIReference, DataReference, ReferenceType, URIReference, XMLStructure

public final class DOMDataReference
extends DOMReferenceType
implements DataReference

DOM-based implementation of DataReference.


Field Summary
 
Fields inherited from class com.ibm.xml.enc.dom.DOMReferenceType
content, dis, refElem, uri
 
Constructor Summary
DOMDataReference(org.w3c.dom.Element refElem)
           
DOMDataReference(java.lang.String uri, java.util.List content)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 org.w3c.dom.Node getHere()
          Returns the here node.
 void marshal(org.w3c.dom.Node parent, java.lang.String encPrefix, DOMCryptoContext context)
           
 
Methods inherited from class com.ibm.xml.enc.dom.DOMReferenceType
getContent, getType, getURI
 
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
 
Methods inherited from interface javax.xml.crypto.enc.ReferenceType
getContent
 
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
 
Methods inherited from interface javax.xml.crypto.URIReference
getType, getURI
 

Constructor Detail

DOMDataReference

public DOMDataReference(java.lang.String uri,
                        java.util.List content)

DOMDataReference

public DOMDataReference(org.w3c.dom.Element refElem)
                 throws MarshalException
Throws:
MarshalException
Method Detail

getHere

public org.w3c.dom.Node getHere()
Description copied from interface: DOMURIReference
Returns the here node.

Specified by:
getHere in interface DOMURIReference
Returns:
the attribute or processing instruction node or the parent element of the text node that directly contains the URI

marshal

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

equals

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

XML Security, 1.6

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