org.jsoup.parser
Class XmlTreeBuilder
java.lang.Object
org.jsoup.parser.XmlTreeBuilder
public class XmlTreeBuilder
- extends Object
Use the XmlTreeBuilder
when you want to parse XML without any of the HTML DOM rules being applied to the
document.
Usage example: Document xmlDoc = Jsoup.parse(html, baseUrl, Parser.xmlParser());
- Author:
- Jonathan Hedley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
protected Document doc
stack
protected DescendableLinkedList<Element> stack
baseUri
protected String baseUri
currentToken
protected org.jsoup.parser.Token currentToken
errors
protected org.jsoup.parser.ParseErrorList errors
XmlTreeBuilder
public XmlTreeBuilder()
initialiseParse
protected void initialiseParse(String input,
String baseUri,
org.jsoup.parser.ParseErrorList errors)
process
protected boolean process(org.jsoup.parser.Token token)
runParser
protected void runParser()
currentElement
protected Element currentElement()
Copyright © 2009-2014 Jonathan Hedley. All Rights Reserved.