Package com.basistech.rosette.dm
Class LayoutRegion
java.lang.Object
com.basistech.rosette.dm.BaseAttribute
com.basistech.rosette.dm.Attribute
com.basistech.rosette.dm.LayoutRegion
- All Implemented Interfaces:
Serializable
Layout defines text as spans defined by structured or unstructured regions.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for layout regions.static enum
Layout types -
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
LayoutRegion
(int startOffset, int endOffset, LayoutRegion.Layout layout, Map<String, Object> extendedProperties) -
Method Summary
Modifier and TypeMethodDescriptionGets the layout.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
-
LayoutRegion
protected LayoutRegion(int startOffset, int endOffset, LayoutRegion.Layout layout, Map<String, Object> extendedProperties)
-
-
Method Details
-
getLayout
Gets the layout.- Returns:
- the layout
-
toStringHelper
protected com.google.common.base.MoreObjects.ToStringHelper toStringHelper()- Overrides:
toStringHelper
in classAttribute
-