|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tyenki.tree.TreeGenerator
public class TreeGenerator
Generates trees from the specified XML instance and configuration.
| Constructor Summary | |
|---|---|
TreeGenerator(File config,
TreeFormat format)
Creates a new Tree generator from the specified configuration. |
|
| Method Summary | |
|---|---|
void |
generate(File in,
File out,
String id)
Generate the tree on the specified output from the specified input using this instance configuration and tree format. |
void |
generate(File in,
File out,
String id,
Map<String,String> params)
Generate the tree on the specified output from the specified input using this instance configuration and tree format. |
void |
generate(Reader in,
Writer out,
String id)
Generate the tree on the specified output from the specified input using this instance configuration and tree format. |
void |
generate(Reader in,
Writer out,
String id,
Map<String,String> params)
Generate the tree on the specified output from the specified input using this instance configuration and tree format. |
void |
generate(Source source,
Result result,
String id)
Generate the tree on the specified output from the specified input using this instance configuration and tree format. |
void |
generate(Source source,
Result result,
String id,
Map<String,String> params)
Generate the tree on the specified output from the specified input using this instance configuration and tree format. |
File |
getTreeConfig()
Returns the XML tree configuration file. |
TreeFormat |
getTreeFormat()
Returns the tree format for this generator. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeGenerator(File config,
TreeFormat format)
config - The configuration.format - The tree format to use.| Method Detail |
|---|
public TreeFormat getTreeFormat()
public File getTreeConfig()
public void generate(File in,
File out,
String id)
throws Exception
in - A reader to an XML document to transform into a tree.out - A writer to receive the tree.id - The ID of the tree to build.
Exception
public void generate(File in,
File out,
String id,
Map<String,String> params)
throws Exception
in - A reader to an XML document to transform into a tree.out - A writer to receive the tree.id - The ID of the tree to build.
Exception
public void generate(Reader in,
Writer out,
String id)
throws Exception
in - A reader to an XML document to transform into a tree.out - A writer to receive the tree.id - The ID of the tree to build.
Exception
public void generate(Reader in,
Writer out,
String id,
Map<String,String> params)
throws Exception
in - A reader to an XML document to transform into a tree.out - A writer to receive the tree.id - The ID of the tree to build.params - The parameters to pass to the tree.
Exception
public void generate(Source source,
Result result,
String id)
throws Exception
source - A reader to an XML document to transform into a tree.result - A writer to receive the tree.id - The ID of the tree to build.
Exception
public void generate(Source source,
Result result,
String id,
Map<String,String> params)
throws Exception
source - A reader to an XML document to transform into a tree.result - A writer to receive the tree.id - The ID of the tree to build.params - The parameters to pass to the tree.
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||