com.ibm.xml.enc.dom
Class TransformUtil
java.lang.Object
com.ibm.xml.enc.dom.TransformUtil
public class TransformUtil
- extends java.lang.Object
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 |
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
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
Portions Copyright 2003, 2012 IBM Corporation.
Portions Copyright 2003, 2012 Oracle and/or its affiliates.