|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.verity.parametric.PIBuild.TaxDefGenerator
JobProcess that generates a Verity 5.0 TaxDef XML File from a TreeRoot object.
Will also generate an OTL file, and use terms from the nested IResultSet
for additional rules.
Used as an ITreeProcessor:
<TreeProcessor class="com.raritantechnologies.verity.parametric.PIBuild.TaxDefGenerator"
taxonomyName="[ name of taxonomy in output file ]"
fileName="[ name of TaxDef output file ]"
otlFileName="[ name of OTL file ]" >
<!-- Set of result fields to be used as terms in OTL file -->
<TermResultFields>
<Field ID="[ id of result field to be included in OTL output ]" />
</TermResultFields>
<TermAttributes>
<Attribute ID="[ id of TreeNode attribute to be included in OTL output ]" />
</TermAttributes>
</TreeProcessor>
Used as an IJobProcess:
<JobProcess class="com.raritantechnologies.verity.parametric.PIBuild.TaxDefGenerator"
taxonomyName="[ name of taxonomy in output file ]"
fileName="[ name of TaxDef output file ]"
otlFileName="[ name of OTL file ]"
treeBuilder="[ name of ITreeBuilder SystemObject ]" >
<!-- local specification of the ITreeBuilder -->
<TreeBuilder class="[ class of ITreeBuilder ]" >
</TreeBuilder>
<!-- Set of result fields to be used as terms in OTL file -->
<TermResultFields>
<Field ID="[ id of result field to be included in OTL output ]" />
</TermResultFields>
<TermAttributes>
<Attribute ID="[ id of TreeNode attribute to be included in OTL output ]" />
</TermAttributes>
</JobProcess>
| Constructor Summary | |
TaxDefGenerator()
|
|
TaxDefGenerator(java.lang.String taxonomyName,
java.lang.String outputFilePath,
ITreeBuilder treeBuilder)
|
|
| Method Summary | |
void |
executeJob(RaritanPageContext rpc)
|
void |
executeJob(java.lang.String[] args)
|
java.lang.String |
getConfigurationXML()
|
java.lang.String |
getXML(TreeRoot tree)
returns an XML string that represents data in a TreeRoot object. |
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
processTree(TreeRoot tree)
|
java.lang.String |
repeat(int N,
java.lang.String character)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TaxDefGenerator()
public TaxDefGenerator(java.lang.String taxonomyName,
java.lang.String outputFilePath,
ITreeBuilder treeBuilder)
| Method Detail |
public java.lang.String getXML(TreeRoot tree)
ITreeXMLGenerator
getXML in interface ITreeXMLGenerator
public java.lang.String repeat(int N,
java.lang.String character)
public void processTree(TreeRoot tree)
processTree in interface ITreeProcessorpublic void executeJob(java.lang.String[] args)
executeJob in interface IJobProcesspublic void executeJob(RaritanPageContext rpc)
executeJob in interface IJobProcesspublic void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IJobProcesspublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IJobProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||