org.cogroo.entities.tree
Class TreeElement

java.lang.Object
  extended by org.cogroo.entities.tree.TreeElement
Direct Known Subclasses:
Leaf, Node

public abstract class TreeElement
extends Object


Constructor Summary
TreeElement()
           
 
Method Summary
 int getLevel()
           
 String getMorphologicalTag()
           
 String getSyntacticTag()
           
 void setLevel(int level)
           
 void setMorphologicalTag(String morphologicalTag)
           
 void setSyntacticTag(String syntacticTag)
           
abstract  String toSyntaxTree()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeElement

public TreeElement()
Method Detail

setSyntacticTag

public void setSyntacticTag(String syntacticTag)

getSyntacticTag

public String getSyntacticTag()

setLevel

public void setLevel(int level)

getLevel

public int getLevel()

setMorphologicalTag

public void setMorphologicalTag(String morphologicalTag)

getMorphologicalTag

public String getMorphologicalTag()

toSyntaxTree

public abstract String toSyntaxTree()


Copyright © 2012-2013 CoGrOO. All Rights Reserved.