| java.lang.Object com.gargoylesoftware.htmlunit.xml.XmlUtil
XmlUtil | final public class XmlUtil (Code) | | INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Provides facility method to work with xml responses.
version: $Revision: 2132 $ author: Marc Guillemot author: Ahmed Ashour |
Method Summary | |
public static void | appendChild(Page page, DomNode parent, Node child) Recursively appends a
Node child to
DomNode parent. | public static Document | buildDocument(WebResponse webResponse) Builds a document from the content of the webresponse. | protected static Log | getLog() | public static String | lookupNamespaceURI(XmlElement element, String prefix) Search for the namespace URI of the given prefix, starting from the specified element.
Parameters: element - The element to start searching from. Parameters: prefix - The namespace prefix. | public static String | lookupNamespaceURI(HtmlElement element, String prefix) Search for the namespace URI of the given prefix, starting from the specified element.
Parameters: element - The element to start searching from. Parameters: prefix - The namespace prefix. |
appendChild | public static void appendChild(Page page, DomNode parent, Node child)(Code) | | Recursively appends a
Node child to
DomNode parent.
Parameters: page - the owner page of XmlElements to be created. Parameters: parent - the parent DomNode. Parameters: child - the child Node. |
getLog | protected static Log getLog()(Code) | | Return the log object for this web client
The log object |
lookupNamespaceURI | public static String lookupNamespaceURI(XmlElement element, String prefix)(Code) | | Search for the namespace URI of the given prefix, starting from the specified element.
Parameters: element - The element to start searching from. Parameters: prefix - The namespace prefix. the namespace URI bound to the prefix; or null if there is no such namespace. See Also: XmlUtil.lookupNamespaceURI(HtmlElement,String) |
lookupNamespaceURI | public static String lookupNamespaceURI(HtmlElement element, String prefix)(Code) | | Search for the namespace URI of the given prefix, starting from the specified element.
Parameters: element - The element to start searching from. Parameters: prefix - The namespace prefix. the namespace URI bound to the prefix; or null if there is no such namespace. See Also: XmlUtil.lookupNamespaceURI(XmlElement,String) |
|
|