All Packages Class Hierarchy This Package Previous Next Index
Class COM.Lexical.Metaphrase.HierarchicalElement
java.lang.Object
|
+----COM.Lexical.Metaphrase.HierarchicalElement
- public class HierarchicalElement
- extends java.lang.Object
Metaphrase hierarchical element class. Represents a place in a
source hierarchy.
- Version:
- Authority1.1, 11 Apr 2000
ancestors()
- The ancestors of this HierarchicalElement.
children()
- The children of this HierarchicalElement.
concept()
- The associated Concept (may be null).
hasChildren()
- The hasChildren attribute.
hcode()
- The hierarchical code.
name()
- The name which appears in the hierarchy.
parent()
- The parent of this HierarchicalElement.
partition()
- The associated Partition (may be null).
Print(PrintStream)
- Prints the contents of HierarchicalElement to out.
rela()
- The relationship attribute describing the relationship of the
member to its parent.
siblings()
- The siblings of this HierarchicalElement.
partition
public Partition partition()
The associated Partition (may be null).
concept
public Concept concept()
The associated Concept (may be null).
hcode
public java.lang.String hcode()
The hierarchical code. Not present in all sources.
name
public java.lang.String name()
The name which appears in the hierarchy.
ancestors
public HierarchicalElement[] ancestors()
The ancestors of this HierarchicalElement.
May be empty (iff this HierarchicalElement is a root).
parent
public HierarchicalElement parent()
The parent of this HierarchicalElement.
May be null (iff this HierarchicalElement is a root).
children
public HierarchicalElement[] children() throws MetaphraseException
The children of this HierarchicalElement. May be empty.
- Throws:
- MetaphraseException - thrown if there is an error
accessing Metaphrase. MetaphraseUnimplemented may be
thrown if hcode() == null.
siblings
public HierarchicalElement[] siblings() throws MetaphraseException
The siblings of this HierarchicalElement. May be empty.
- Throws:
- MetaphraseException - thrown if there is an error
accessing Metaphrase.
rela
public java.lang.String rela()
The relationship attribute describing the relationship of the
member to its parent. Not always specified.
- See Also:
- rela
hasChildren
public boolean hasChildren()
The hasChildren attribute.
Print
public void Print(java.io.PrintStream out)
Prints the contents of HierarchicalElement to out.
All Packages Class Hierarchy This Package Previous Next Index