Class SpanImpl
java.lang.Object
org.aksw.gerbil.transfer.nif.data.AbstractMarkingImpl
org.aksw.gerbil.transfer.nif.data.SpanImpl
- Direct Known Subclasses:
NamedEntity,ScoredSpanImpl,TypedSpanImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.aksw.gerbil.transfer.nif.data.AbstractMarkingImpl
getProvenanceInfo, setProvenanceInfoMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aksw.gerbil.transfer.nif.Marking
getProvenanceInfo, setProvenanceInfo
-
Field Details
-
startPosition
protected int startPosition -
length
protected int length -
isWord
protected boolean isWord
-
-
Constructor Details
-
SpanImpl
public SpanImpl(int startPosition, int length) -
SpanImpl
public SpanImpl(int startPosition, int length, boolean isWord) -
SpanImpl
-
-
Method Details
-
getStartPosition
public int getStartPosition()- Specified by:
getStartPositionin interfaceSpan
-
getLength
public int getLength() -
setStartPosition
public void setStartPosition(int startPosition) - Specified by:
setStartPositionin interfaceSpan
-
setLength
public void setLength(int length) -
hashCode
public int hashCode() -
equals
-
toString
-
clone
- Specified by:
clonein interfaceMarking- Specified by:
clonein classAbstractMarkingImpl- Throws:
CloneNotSupportedException
-
setIsWord
public void setIsWord(boolean isWord) -
getIsWord
public boolean getIsWord()
-