Class Element
- java.lang.Object
-
- de.julielab.jcore.ae.coordbaseline.types.Element
-
public class Element extends Object
- Author:
- lichtenwald This class will encapsulate a set of Tokens which are assembled in an ArrayList
-
-
Constructor Summary
Constructors Constructor Description Element(ArrayList<CoordinationToken> tokenList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPosTag()This method is used to return the tag of the Element which simply will be a String which contains all tags of the tokens of the current element.ArrayList<CoordinationToken>getTokenList()voidsetEllipsisLabel(String ellipsisLabel)This method is used to set up an ellipsis label for an element which means that all of the tokens will get this ellipsis labelvoidsetTokenList(ArrayList<CoordinationToken> tokenList)StringtoString()This method is used to output the components of the element to String
-
-
-
Constructor Detail
-
Element
public Element(ArrayList<CoordinationToken> tokenList)
-
-
Method Detail
-
getTokenList
public ArrayList<CoordinationToken> getTokenList()
-
setTokenList
public void setTokenList(ArrayList<CoordinationToken> tokenList)
-
toString
public String toString()
This method is used to output the components of the element to String
-
getPosTag
public String getPosTag()
This method is used to return the tag of the Element which simply will be a String which contains all tags of the tokens of the current element.- Returns:
- tag String which will contain all of the tags of the tokens of the current element.
-
setEllipsisLabel
public void setEllipsisLabel(String ellipsisLabel)
This method is used to set up an ellipsis label for an element which means that all of the tokens will get this ellipsis label- Parameters:
ellipsisLabel- String which contains the ellipsis label to be given to the element
-
-