com.facetmap.simple
Class SimpleTaxonomyHeading
java.lang.Object
com.facetmap.simple.SimpleHeading
com.facetmap.simple.SimpleTaxonomyHeading
- All Implemented Interfaces:
- Heading, TaxonomyHeading
- Direct Known Subclasses:
- IndexedHeading
public class SimpleTaxonomyHeading
- extends SimpleHeading
- implements TaxonomyHeading
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
facet
protected SimpleTaxonomyFacet facet
treeNode
protected TreeNode treeNode
SimpleTaxonomyHeading
public SimpleTaxonomyHeading(java.lang.String id)
SimpleTaxonomyHeading
public SimpleTaxonomyHeading(java.lang.String id,
java.lang.String title)
SimpleTaxonomyHeading
public SimpleTaxonomyHeading(java.lang.String id,
java.lang.String title,
SimpleTaxonomyHeading parent)
getForwardHeadings
public java.util.Iterator getForwardHeadings()
- Description copied from interface:
Heading
- See
Facet for the definition of a forward heading.
This method returns an empty Iterator if the Heading has no
forward headings.
- Specified by:
getForwardHeadings in interface Heading
getBackwardHeading
public Heading getBackwardHeading()
- Description copied from interface:
Heading
- See
Facet for the definition of a backward heading.
This method returns null if the Heading has no backward heading.
- Specified by:
getBackwardHeading in interface Heading
getChildCount
public int getChildCount()
- Specified by:
getChildCount in interface TaxonomyHeading
getParent
public SimpleTaxonomyHeading getParent()
getBackwardHeadings
public java.util.Enumeration getBackwardHeadings()
- Retained from Facetmap v1, since it may be useful.
getSimpleTaxonomyFacet
public SimpleTaxonomyFacet getSimpleTaxonomyFacet()
setSimpleTaxonomyFacet
public void setSimpleTaxonomyFacet(SimpleTaxonomyFacet facet)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getFacet
public Facet getFacet()
- Description copied from interface:
Heading
- Facet to which this Heading belongs. A Heading must belong to a Facet.
- Specified by:
getFacet in interface Heading
getTreeNode
public TreeNode getTreeNode()
setTreeNode
public void setTreeNode(TreeNode treeNode)