Package org.zkoss.zk.ui.metainfo
Interface TreeBuilder
-
- All Known Implementing Classes:
XmlTreeBuilder
public interface TreeBuilder
A tree builder for parsing a page toDocument
- Since:
- 8.0.0
- Author:
- jumperchen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.zkoss.idom.Document
parse(java.io.File file)
Parse the content of a file to aDocument
org.zkoss.idom.Document
parse(java.io.Reader reader)
Parse the content from a Reader to aDocument
org.zkoss.idom.Document
parse(java.net.URL url)
Parse the content from a URL to aDocument
-
-
-
Method Detail
-
parse
org.zkoss.idom.Document parse(java.io.File file) throws java.lang.Exception
Parse the content of a file to aDocument
- Throws:
java.lang.Exception
-
parse
org.zkoss.idom.Document parse(java.net.URL url) throws java.lang.Exception
Parse the content from a URL to aDocument
- Throws:
java.lang.Exception
-
parse
org.zkoss.idom.Document parse(java.io.Reader reader) throws java.lang.Exception
Parse the content from a Reader to aDocument
- Throws:
java.lang.Exception
-
-