|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tyenki.tree.TreePreprocessor
public class TreePreprocessor
This class produces an XSLT-based tree generator corresponding to the specified configuration.
| Constructor Summary | |
|---|---|
TreePreprocessor()
Creates a new pre-processor using the default resource locator. |
|
TreePreprocessor(ResourceLocator locator)
Creates a new pre-processor. |
|
| Method Summary | |
|---|---|
Templates |
compile(File config,
TreeFormat format)
Process the XML configuration file and returns the corresponding XSLT templates. |
Templates |
compile(Source config,
TreeFormat format)
Process the XML configuration file and returns the corresponding XSLT templates. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreePreprocessor()
public TreePreprocessor(ResourceLocator locator)
locator - The resource locator to find pre-processors.| Method Detail |
|---|
public Templates compile(File config,
TreeFormat format)
throws TreeException,
FileNotFoundException
config - The configuration file.format - The tree format the processor should generate.
TreeException - Should an error occur while compile the tree.
NullPointerException - if the configuration or format is null.
FileNotFoundException
public Templates compile(Source config,
TreeFormat format)
throws TreeException
config - The configuration files.format - The tree format the processor should generate.
TreeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||