| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
types |
isWord, length, startPosition| Constructor and Description |
|---|
TypedSpanImpl(int startPosition,
int length,
boolean isWord,
String... types) |
TypedSpanImpl(int startPosition,
int length,
Set<String> types) |
TypedSpanImpl(int startPosition,
int length,
Set<String> types,
boolean isWord) |
TypedSpanImpl(int startPosition,
int length,
String... types) |
TypedSpanImpl(TypedSpanImpl typedSpanImpl) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
Set<String> |
getTypes() |
int |
hashCode() |
void |
setTypes(Set<String> types) |
void |
setTypes(String... types) |
String |
toString() |
getIsWord, getLength, getStartPosition, setIsWord, setLength, setStartPositionfinalize, getClass, notify, notifyAll, wait, wait, waitgetIsWord, getLength, getStartPosition, setIsWord, setLength, setStartPositionpublic TypedSpanImpl(int startPosition,
int length,
Set<String> types,
boolean isWord)
public TypedSpanImpl(int startPosition,
int length,
String... types)
public TypedSpanImpl(int startPosition,
int length,
boolean isWord,
String... types)
public TypedSpanImpl(TypedSpanImpl typedSpanImpl)
public Set<String> getTypes()
getTypes in interface TypedMarkingpublic void setTypes(String... types)
public void setTypes(Set<String> types)
setTypes in interface TypedMarkingpublic String toString()
public Object clone() throws CloneNotSupportedException
clone in interface Markingclone in class SpanImplCloneNotSupportedExceptionCopyright © 2016. All rights reserved.