Package eu.clarin.weblicht.wlfxb.tc.xb
Class TextSpanStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.tc.xb.TextSpanStored
-
- All Implemented Interfaces:
ExtraAttributes,TextSpan
public class TextSpanStored extends Object implements TextSpan
- Author:
- Yana Panchenko
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerendCharprotected StringendTokenprotected LinkedHashMap<String,String>extraAttributesprotected LinkedHashMap<QName,String>qnameAttributesprotected IntegerstartCharprotected StringstartTokenprotected List<TextSpanStored>subspansprotected Stringtypeprotected Stringvaluestatic StringXML_NAME
-
Constructor Summary
Constructors Constructor Description TextSpanStored()
-
Method Summary
Modifier and Type Method Description protected voidafterUnmarshal(Unmarshaller u, Object parent)protected List<Object>getContent()IntegergetEndChar()LinkedHashMap<String,String>getExtraAttributes()IntegergetStartChar()TextSpanStored[]getSubspans()StringgetType()StringgetValue()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
-
startChar
protected Integer startChar
-
endChar
protected Integer endChar
-
startToken
protected String startToken
-
endToken
protected String endToken
-
type
protected String type
-
qnameAttributes
protected LinkedHashMap<QName,String> qnameAttributes
-
extraAttributes
protected LinkedHashMap<String,String> extraAttributes
-
value
protected String value
-
subspans
protected List<TextSpanStored> subspans
-
-
Method Detail
-
afterUnmarshal
protected void afterUnmarshal(Unmarshaller u, Object parent)
-
isTerminal
public boolean isTerminal()
- Specified by:
isTerminalin interfaceTextSpan
-
getSubspans
public TextSpanStored[] getSubspans()
- Specified by:
getSubspansin interfaceTextSpan
-
getStartChar
public Integer getStartChar()
- Specified by:
getStartCharin interfaceTextSpan
-
getEndChar
public Integer getEndChar()
- Specified by:
getEndCharin interfaceTextSpan
-
getExtraAttributes
public LinkedHashMap<String,String> getExtraAttributes()
- Specified by:
getExtraAttributesin interfaceExtraAttributes
-
-