Package eu.clarin.weblicht.wlfxb.tc.xb
Class ConstituentStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.tc.xb.ConstituentStored
-
- All Implemented Interfaces:
Constituent,ExtraAttributes
public class ConstituentStored extends Object implements Constituent
- Author:
- Yana Panchenko
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected List<ConstituentStored>childrenprotected StringconstituentIdprotected List<ConstituentReferenceStored>crefsprotected Stringedgeprotected LinkedHashMap<QName,String>extraAttributesstatic StringID_PREFIXprotected String[]tokRefsstatic StringXML_ATTRIBUTE_CATEGORYstatic StringXML_NAME
-
Constructor Summary
Constructors Constructor Description ConstituentStored()
-
Method Summary
Modifier and Type Method Description StringgetCategory()Constituent[]getChildren()StringgetEdge()LinkedHashMap<String,String>getExtraAttributes()ConstituentReference[]getSecondaryEdgeChildren()booleanisEmptyTerminal()booleanisTerminal()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface eu.clarin.weblicht.wlfxb.tc.api.ExtraAttributes
retrieveAttributes
-
-
-
-
Field Detail
-
XML_NAME
public static final String XML_NAME
- See Also:
- Constant Field Values
-
XML_ATTRIBUTE_CATEGORY
public static final String XML_ATTRIBUTE_CATEGORY
- See Also:
- Constant Field Values
-
ID_PREFIX
public static final String ID_PREFIX
- See Also:
- Constant Field Values
-
constituentId
protected String constituentId
-
category
protected String category
-
edge
protected String edge
-
tokRefs
protected String[] tokRefs
-
crefs
protected List<ConstituentReferenceStored> crefs
-
children
protected List<ConstituentStored> children
-
extraAttributes
protected LinkedHashMap<QName,String> extraAttributes
-
-
Method Detail
-
isTerminal
public boolean isTerminal()
- Specified by:
isTerminalin interfaceConstituent
-
isEmptyTerminal
public boolean isEmptyTerminal()
- Specified by:
isEmptyTerminalin interfaceConstituent
-
getChildren
public Constituent[] getChildren()
- Specified by:
getChildrenin interfaceConstituent
-
getSecondaryEdgeChildren
public ConstituentReference[] getSecondaryEdgeChildren()
- Specified by:
getSecondaryEdgeChildrenin interfaceConstituent
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceConstituent
-
getEdge
public String getEdge()
- Specified by:
getEdgein interfaceConstituent
-
getExtraAttributes
public LinkedHashMap<String,String> getExtraAttributes()
- Specified by:
getExtraAttributesin interfaceExtraAttributes
-
-