Interface TreeBuilder

All Known Implementing Classes:
XmlTreeBuilder

public interface TreeBuilder
A tree builder for parsing a page to Document
Since:
8.0.0
Author:
jumperchen
  • Method Summary

    Modifier and Type
    Method
    Description
    org.zkoss.idom.Document
    parse(File file)
    Parse the content of a file to a Document
    org.zkoss.idom.Document
    parse(Reader reader)
    Parse the content from a Reader to a Document
    org.zkoss.idom.Document
    parse(URL url)
    Parse the content from a URL to a Document
  • Method Details

    • parse

      org.zkoss.idom.Document parse(File file) throws Exception
      Parse the content of a file to a Document
      Throws:
      Exception
    • parse

      org.zkoss.idom.Document parse(URL url) throws Exception
      Parse the content from a URL to a Document
      Throws:
      Exception
    • parse

      org.zkoss.idom.Document parse(Reader reader) throws Exception
      Parse the content from a Reader to a Document
      Throws:
      Exception