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 String
category
protected Integer
end
protected LinkedHashMap<QName,String>
extraAttributes
protected String
function
protected Integer
start
protected List<MorphologySegmentStored>
subsegments
protected String
type
protected String
value
static String
XML_NAME
-
Constructor Summary
Constructors Constructor Description MorphologySegmentStored()
-
Method Summary
Modifier and Type Method Description protected void
afterUnmarshal(Unmarshaller u, Object parent)
String
getCategory()
protected List<Object>
getContent()
Integer
getEnd()
LinkedHashMap<String,String>
getExtraAttributes()
String
getFunction()
Integer
getStart()
MorphologySegment[]
getSubsegments()
String
getType()
String
getValue()
boolean
hasCharoffsets()
boolean
isTerminal()
String
toString()
-
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:
getCategory
in interfaceMorphologySegment
-
getType
public String getType()
- Specified by:
getType
in interfaceMorphologySegment
-
getFunction
public String getFunction()
- Specified by:
getFunction
in interfaceMorphologySegment
-
hasCharoffsets
public boolean hasCharoffsets()
- Specified by:
hasCharoffsets
in interfaceMorphologySegment
-
getStart
public Integer getStart()
- Specified by:
getStart
in interfaceMorphologySegment
-
getEnd
public Integer getEnd()
- Specified by:
getEnd
in interfaceMorphologySegment
-
isTerminal
public boolean isTerminal()
- Specified by:
isTerminal
in interfaceMorphologySegment
-
getValue
public String getValue()
- Specified by:
getValue
in interfaceMorphologySegment
-
getSubsegments
public MorphologySegment[] getSubsegments()
- Specified by:
getSubsegments
in interfaceMorphologySegment
-
getExtraAttributes
public LinkedHashMap<String,String> getExtraAttributes()
- Specified by:
getExtraAttributes
in interfaceExtraAttributes
-
-