com.raritantechnologies.verity.topic
Class TaxParser
java.lang.Object
com.raritantechnologies.verity.topic.TaxParser
- public class TaxParser
- extends java.lang.Object
Loads a Verity 5.0 TaxDef XML file.
Use to import taxonomies from Verity Intelligent Classifier, etc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaxParser
public TaxParser()
setIncludeRootNode
public void setIncludeRootNode(boolean b)
getIncludeRootNode
public boolean getIncludeRootNode()
setPathSeparator
public void setPathSeparator(java.lang.String s)
getPathSeparator
public java.lang.String getPathSeparator()
getRoot
public TreeNode getRoot()
getAllChildren
public java.util.ArrayList getAllChildren()
parseFile
public void parseFile(java.io.File taxFile)
throws ParseException
- Throws:
ParseException
loadTaxonomy
public void loadTaxonomy(java.io.Reader taxFile)
throws ParseException
- Throws:
ParseException
loadTaxonomy
public void loadTaxonomy(java.lang.String taxXML)
throws ParseException
- Throws:
ParseException
loadTaxonomy
public void loadTaxonomy(org.w3c.dom.Document taxDoc)
throws ParseException
- Throws:
ParseException