XML Security, 1.6

com.ibm.xml.enc.dom
Class TransformUtil

java.lang.Object
  extended by com.ibm.xml.enc.dom.TransformUtil

public class TransformUtil
extends java.lang.Object


Nested Class Summary
static class TransformUtil.ListIterator
          Read-only iterator for List
 
Field Summary
static java.lang.String NS_XML
           
static java.lang.String NS_XMLNS
           
static java.lang.String PREFIX_XPATH2
           
 
Method Summary
static void cleanTree(java.util.Vector decls)
           
static java.util.Vector fixTree(org.w3c.dom.Node node)
           
static java.lang.String getAvailablePrefix(DOMCryptoContext dcontext, java.lang.String ns, java.lang.String defaultPrefix, java.util.Map map)
           
static java.lang.String getStringValue(org.w3c.dom.Node node)
          Concatinate text in child nodes of specified node
static java.util.Map makePrefixMap(org.w3c.dom.Node node)
          prefix ==> namespace map.
static NodeSetData toNodeSet(org.w3c.dom.Node node, boolean comments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX_XPATH2

public static final java.lang.String PREFIX_XPATH2
See Also:
Constant Field Values

NS_XMLNS

public static final java.lang.String NS_XMLNS
See Also:
Constant Field Values

NS_XML

public static final java.lang.String NS_XML
See Also:
Constant Field Values
Method Detail

toNodeSet

public static NodeSetData toNodeSet(org.w3c.dom.Node node,
                                    boolean comments)
                             throws URIReferenceException
Throws:
URIReferenceException

getStringValue

public static java.lang.String getStringValue(org.w3c.dom.Node node)
                                       throws MarshalException
Concatinate text in child nodes of specified node

Returns:
never be null.
Throws:
MarshalException - if node has non-text nodes.

makePrefixMap

public static final java.util.Map makePrefixMap(org.w3c.dom.Node node)
prefix ==> namespace map.


fixTree

public static java.util.Vector fixTree(org.w3c.dom.Node node)

cleanTree

public static void cleanTree(java.util.Vector decls)

getAvailablePrefix

public static java.lang.String getAvailablePrefix(DOMCryptoContext dcontext,
                                                  java.lang.String ns,
                                                  java.lang.String defaultPrefix,
                                                  java.util.Map map)
Parameters:
dcontext - may be null

XML Security, 1.6

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