| java.lang.Object org.netbeans.modules.visualweb.complib.XmlUtil
XmlUtil | public class XmlUtil (Code) | | Utilities to provide a simpler interface to JAXP, the standard Java API for
XML Processing. Currently based on DOM.
author: Edwin Goei |
createElement | public Element createElement(String name)(Code) | | Use namespace version of createElement to create an element with a
unqualified name
Parameters: name - |
selectNodeList | public static NodeList selectNodeList(Node contextNode, String xpath) throws XmlException(Code) | | Parameters: contextNode - Node to start from Parameters: xpath - XPath expression NodeList containing resulting Nodes throws: XmlException - |
selectSingleNode | public static Node selectSingleNode(Node contextNode, String xpath) throws XmlException(Code) | | Parameters: contextNode - Node to start from Parameters: xpath - XPath expression The first node found that matches the XPath, or null. throws: XmlException - |
write | public void write(File outFile) throws XmlException(Code) | | Write document to File using formatting. This will also close the output
file (I think).
Parameters: outFile - throws: XmlException - |
|
|