|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.xml.client.XMLParser
public class XMLParser
This class represents the client interface to XML parsing.
Method Summary | |
---|---|
static Document |
createDocument()
This method creates a new document, to be manipulated by the DOM API. |
static Document |
parse(java.lang.String contents)
This method parses a new document from the supplied string, throwing a DOMParseException if the parse fails. |
static void |
removeWhitespace(Node n)
This method removes all Text nodes which are made up of only
white space. |
static boolean |
supportsCDATASection()
Deprecated. Always returns true |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Document createDocument()
public static Document parse(java.lang.String contents)
DOMParseException
if the parse fails.
contents
- the String to be parsed into a Document
Document
public static void removeWhitespace(Node n)
Text
nodes which are made up of only
white space.
n
- the node which is to have all of its whitespace descendents
removed.@Deprecated public static boolean supportsCDATASection()
CDATASection
as distinct entities from Text
nodes.
CDATASection
, otherwise
false
.
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |