net.sf.adf.acl.xml
Class XMLUtils
java.lang.Object
net.sf.adf.acl.xml.XMLUtils
public class XMLUtils
- extends java.lang.Object
- Author:
- Catalin Hritcu
|
Method Summary |
static org.w3c.dom.Node |
importNode(org.w3c.dom.Document doc,
org.w3c.dom.Node source,
boolean deep)
Alternative implementation of DOM's importNode method. |
static org.w3c.dom.Document |
toDOM(java.lang.String str)
|
static java.lang.String |
toString(org.w3c.dom.Document doc)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLUtils
public XMLUtils()
importNode
public static org.w3c.dom.Node importNode(org.w3c.dom.Document doc,
org.w3c.dom.Node source,
boolean deep)
throws org.w3c.dom.DOMException
- Alternative implementation of DOM's importNode method.
This is useful when the DOM implementation is incomplete,
like like JAXRPC/SAAJ in JBoss 4.0.2 (Apache Axis)
This method is a derivative of a Xerces method and is
under the The Apache Software License, Version 1.1
- Throws:
org.w3c.dom.DOMException
toDOM
public static org.w3c.dom.Document toDOM(java.lang.String str)
throws DecodingException
- Throws:
DecodingException
toString
public static java.lang.String toString(org.w3c.dom.Document doc)
throws EncodingException
- Throws:
EncodingException