Package eu.clarin.weblicht.wlfxb.tc.xb
Class MorphologySegmentStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.tc.xb.MorphologySegmentStored
-
- All Implemented Interfaces:
ExtraAttributes,MorphologySegment
public class MorphologySegmentStored extends Object implements MorphologySegment
- Author:
- Yana Panchenko
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected Integerendprotected LinkedHashMap<QName,String>extraAttributesprotected Stringfunctionprotected Integerstartprotected List<MorphologySegmentStored>subsegmentsprotected Stringtypeprotected Stringvaluestatic StringXML_NAME
-
Constructor Summary
Constructors Constructor Description MorphologySegmentStored()
-
Method Summary
Modifier and Type Method Description protected voidafterUnmarshal(Unmarshaller u, Object parent)StringgetCategory()protected List<Object>getContent()IntegergetEnd()LinkedHashMap<String,String>getExtraAttributes()StringgetFunction()IntegergetStart()MorphologySegment[]getSubsegments()StringgetType()StringgetValue()booleanhasCharoffsets()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
-
type
protected String type
-
function
protected String function
-
category
protected String category
-
start
protected Integer start
-
end
protected Integer end
-
value
protected String value
-
subsegments
protected List<MorphologySegmentStored> subsegments
-
extraAttributes
protected LinkedHashMap<QName,String> extraAttributes
-
-
Method Detail
-
afterUnmarshal
protected void afterUnmarshal(Unmarshaller u, Object parent)
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceMorphologySegment
-
getType
public String getType()
- Specified by:
getTypein interfaceMorphologySegment
-
getFunction
public String getFunction()
- Specified by:
getFunctionin interfaceMorphologySegment
-
hasCharoffsets
public boolean hasCharoffsets()
- Specified by:
hasCharoffsetsin interfaceMorphologySegment
-
getStart
public Integer getStart()
- Specified by:
getStartin interfaceMorphologySegment
-
getEnd
public Integer getEnd()
- Specified by:
getEndin interfaceMorphologySegment
-
isTerminal
public boolean isTerminal()
- Specified by:
isTerminalin interfaceMorphologySegment
-
getValue
public String getValue()
- Specified by:
getValuein interfaceMorphologySegment
-
getSubsegments
public MorphologySegment[] getSubsegments()
- Specified by:
getSubsegmentsin interfaceMorphologySegment
-
getExtraAttributes
public LinkedHashMap<String,String> getExtraAttributes()
- Specified by:
getExtraAttributesin interfaceExtraAttributes
-
-