Package org.zkoss.zk.ui.metainfo

## Interface TreeBuilder

- All Known Implementing Classes:
    `HtmlTreeBuilder`, `XmlTreeBuilder`

      public interface TreeBuilder

  A tree builder for parsing a page to `Document`
  Since:
    8.0.0
  Author:
    jumperchen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Document` | `parse​(java.io.File file)` | Parse the content of a file to a `Document`
    `Document` | `parse​(java.io.Reader reader)` | Parse the content from a Reader to a `Document`
    `Document` | `parse​(java.net.URL url)` | Parse the content from a URL to a `Document`

- - ### Method Detail

    - #### parse

          Document parse​(java.io.File file)
                  throws java.lang.Exception

      Parse the content of a file to a `Document`
      Throws:
        `java.lang.Exception`

    - #### parse

          Document parse​(java.net.URL url)
                  throws java.lang.Exception

      Parse the content from a URL to a `Document`
      Throws:
        `java.lang.Exception`

    - #### parse

          Document parse​(java.io.Reader reader)
                  throws java.lang.Exception

      Parse the content from a Reader to a `Document`
      Throws:
        `java.lang.Exception`