Package com.google.gwt.xml.client
Class XMLParser
java.lang.Object
com.google.gwt.xml.client.XMLParser
This class represents the client interface to XML parsing.
- 
Method SummaryModifier and TypeMethodDescriptionstatic DocumentThis method creates a new document, to be manipulated by the DOM API.static DocumentThis method parses a new document from the supplied string, throwing aDOMParseExceptionif the parse fails.static voidThis method removes allTextnodes which are made up of only white space.static booleanDeprecated.Always returns true
- 
Method Details- 
createDocumentThis method creates a new document, to be manipulated by the DOM API.- Returns:
- the newly created document
 
- 
parseThis method parses a new document from the supplied string, throwing aDOMParseExceptionif the parse fails.- Parameters:
- contents- the String to be parsed into a- Document
- Returns:
- the newly created Document
 
- 
removeWhitespaceThis method removes allTextnodes which are made up of only white space.- Parameters:
- n- the node which is to have all of its whitespace descendents removed.
 
- 
supportsCDATASectionDeprecated.Always returns trueThis method determines whether the browser supportsCDATASectionas distinct entities fromTextnodes.- Returns:
- true if the browser supports CDATASection, otherwisefalse.
 
 
-