|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.egov.egiz.sig.SignatureEntry
public class SignatureEntry
This class is to store a signature entry. The signature entry is 3-tupel. A key that is defined
or declarated in the settings file, an optional caption or a value.
An additional helper value is a marker for the start index of the key, if the key is found in an
analysing process extracting captions and values from a raw signature text.
SignatureObject
,
Serialized FormConstructor Summary | |
---|---|
SignatureEntry()
The empty constructor. |
|
SignatureEntry(String key)
A new SignatureEntry init with the key. |
Method Summary | |
---|---|
String |
getCaption()
Returns the caption off the current key. |
String |
getKey()
Return the current key. |
int |
getStartIndex()
Return the start position of the key that caption is found in the signature text. |
String |
getValue()
Return the value of the current key. |
void |
setCaption(String caption)
Set the caption of the current key. |
void |
setKey(String key)
Set the current key. |
void |
setStartIndex(int startIndex)
Set the start position of the current key. |
void |
setValue(String value)
Set the value of the current key. |
String |
toString()
The toString method, used for tests or debugging. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SignatureEntry()
public SignatureEntry(String key)
SignatureEntry
init with the key.
key
- Method Detail |
---|
public String getCaption()
public void setCaption(String caption)
caption
- The caption to set.public String getKey()
public void setKey(String key)
key
- The key to set.public int getStartIndex()
public void setStartIndex(int startIndex)
startIndex
- The startIndex to set.public String getValue()
public void setValue(String value)
value
- The value to set.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |