public abstract class TextRegion
extends java.lang.Object
Copyright (C) 2012 JIOWA Business Solutions GmbH, Bettinastr. 30 , 60325 Frankfurt am Main, Germany
Homepage: www.jiowa.de
All rights reserved.
Download: www.jiowa.de/download.html
License: www.jiowa.de/license.html
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
content
The content of this region
|
protected int |
from
The starting line of the region within the text string (starting from 1).
|
protected RegionName |
name
The name (unique identifier) of the region
|
protected TextRegionNotation |
notation
The text region notation used for this region
|
protected int |
to
The last line of the region (including this line).
|
Constructor and Description |
---|
TextRegion(RegionName name,
java.lang.String content,
int from,
int to,
TextRegionNotation notation) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent() |
int |
getFrom() |
RegionName |
getName() |
int |
getTo() |
boolean |
isEmpty() |
java.lang.String |
toString() |
protected RegionName name
protected java.lang.String content
protected int from
protected int to
protected TextRegionNotation notation
public TextRegion(RegionName name, java.lang.String content, int from, int to, TextRegionNotation notation)
public RegionName getName()
public java.lang.String getContent()
public int getFrom()
public int getTo()
public boolean isEmpty()
public java.lang.String toString()
toString
in class java.lang.Object