com.ibm.dom.util
Class Digest

java.lang.Object
  |
  +--com.ibm.dom.util.Digest

public class Digest
extends java.lang.Object

See Also:
com.ibm.xml.parser.MakeDigestVisitor, DigestFilter

Field Summary
static java.lang.String S_XMLNAMESPACEURI
           
static java.lang.String S_XMLNS
           
 
Method Summary
static java.lang.String createExpandedName(Node node, Node element)
           
static byte[] getDigest(java.security.MessageDigest md, Attr attr, Element owner)
           
static byte[] getDigest(java.security.MessageDigest md, Node node)
           
static Node getFirstWithoutReference(Node node)
           
static Node getLastWithoutReference(Node node)
           
static java.lang.String getNamespaceForPrefix(java.lang.String prefix, Node current)
          Returns a namespace URI for specified prefix.
static Node getNextWithoutReference(Node node)
           
static Node getPreviousWithoutReference(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

S_XMLNS

public static final java.lang.String S_XMLNS

S_XMLNAMESPACEURI

public static final java.lang.String S_XMLNAMESPACEURI
Method Detail

getDigest

public static byte[] getDigest(java.security.MessageDigest md,
                               Node node)

getDigest

public static byte[] getDigest(java.security.MessageDigest md,
                               Attr attr,
                               Element owner)

createExpandedName

public static java.lang.String createExpandedName(Node node,
                                                  Node element)

getNamespaceForPrefix

public static java.lang.String getNamespaceForPrefix(java.lang.String prefix,
                                                     Node current)
Returns a namespace URI for specified prefix.
namespace URI Stringfor valid prefix or no prefix with default namespace
""for no prefix and no default namespace
nullfor undefined prefix
Parameters:
prefix - Namespace prefix; null isn't allowed.

getPreviousWithoutReference

public static Node getPreviousWithoutReference(Node node)

getNextWithoutReference

public static Node getNextWithoutReference(Node node)

getFirstWithoutReference

public static Node getFirstWithoutReference(Node node)
See Also:
getLastWithoutReference(org.w3c.dom.Node)

getLastWithoutReference

public static Node getLastWithoutReference(Node node)
See Also:
getFirstWithoutReference(org.w3c.dom.Node)