Package com.basistech.rosette.dm
Class ScriptRegion
java.lang.Object
com.basistech.rosette.dm.BaseAttribute
com.basistech.rosette.dm.Attribute
com.basistech.rosette.dm.ScriptRegion
- All Implemented Interfaces:
Serializable
A script region. Script regions describe text as spans defined by
ISO-15924.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.basistech.rosette.dm.Attribute
endOffset, startOffset
Fields inherited from class com.basistech.rosette.dm.BaseAttribute
extendedProperties
-
Constructor Summary
ModifierConstructorDescriptionprotected
ScriptRegion
(int startOffset, int endOffset, com.basistech.util.ISO15924 script, Map<String, Object> extendedProperties) -
Method Summary
Modifier and TypeMethodDescriptioncom.basistech.util.ISO15924
Returns the script for this region.protected com.google.common.base.MoreObjects.ToStringHelper
Methods inherited from class com.basistech.rosette.dm.Attribute
getEndOffset, getStartOffset
Methods inherited from class com.basistech.rosette.dm.BaseAttribute
getExtendedProperties, listOrNull, setExtendedProperty, toString
-
Constructor Details
-
ScriptRegion
-
-
Method Details
-
getScript
public com.basistech.util.ISO15924 getScript()Returns the script for this region.- Returns:
- the script for this region
-
toStringHelper
protected com.google.common.base.MoreObjects.ToStringHelper toStringHelper()- Overrides:
toStringHelper
in classAttribute
-