|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.knowcenter.wag.egov.egiz.sig.SignatureTypeDefinition
| Field Summary | |
protected List |
field_definitions_
List of (visible) field definitions. |
protected List |
invisible_field_definitions
List of invisible field definitions. |
| Constructor Summary | |
SignatureTypeDefinition(SettingsReader settings,
String type)
The constructor of the signature type definition. |
|
| Method Summary | |
boolean |
contains(String key)
This method checks if a given key is defined. |
protected static List |
filterOutNonRequiredFoundKeys(List keys)
Filters out all non required keys from the List of keys. |
String |
getCaptionFromKey(String key)
Returns a caption to a given key |
String |
getDescription()
|
List |
getFieldDefinitions()
Returns the list of field definitions of this Signature profile. |
List |
getInvisibleFieldDefinitions()
Returns the List of invisible field definitions, if any. |
Map |
getKeyCaptionMap()
|
Map |
getKeyValueMap()
|
Vector |
getRevertSortedCaptions()
|
Vector |
getRevertSortedKeys()
|
protected String |
getSettingsKeyBase()
|
protected static String |
getSettingsKeyBase(String type)
|
Vector |
getSortedCaptions()
|
Vector |
getSortedKeys()
|
String |
getType()
|
String |
getValueFromKey(String key)
Returns a value to given key |
boolean |
isSemanticallyEqual(SignatureTypeDefinition other)
Tells if this signature profile is semantically equal to the other signature profile. |
boolean |
isTextExtractable()
Tells, if the signature type is text-extractable, which means that all required fields are visible. |
SignatureFieldDefinition |
readFieldDefinition(String field_name)
Gets the field definition of the given Field. |
protected void |
readFieldDefinitions()
|
protected void |
readInvisibleFieldDefinitions()
|
static String |
readPhLenStringFromSettings(SettingsReader settings,
String profile,
String field_name)
|
String |
toString()
The standard toString method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected List field_definitions_
protected List invisible_field_definitions
If empty, all definitions are visible.
| Constructor Detail |
public SignatureTypeDefinition(SettingsReader settings,
String type)
throws SignatureException
settings - a SettingsReader instancetype - the signature type to load
SignatureExceptionSettingsReader| Method Detail |
protected void readInvisibleFieldDefinitions()
public List getInvisibleFieldDefinitions()
Invisible field definitions are the field definitions of required fields that are not explicitely specified in the signature profile.
Note that the concept of invisible fields can only be used by binary signatures.
public boolean isTextExtractable()
public Map getKeyCaptionMap()
public Map getKeyValueMap()
public String getCaptionFromKey(String key)
key -
public String getValueFromKey(String key)
key -
public Vector getSortedKeys()
public Vector getSortedCaptions()
public Vector getRevertSortedCaptions()
public Vector getRevertSortedKeys()
public boolean contains(String key)
key - to find
public String toString()
public String getType()
public String getDescription()
protected String getSettingsKeyBase()
public SignatureFieldDefinition readFieldDefinition(String field_name)
field_name - The name of the field.
protected static String getSettingsKeyBase(String type)
public static String readPhLenStringFromSettings(SettingsReader settings,
String profile,
String field_name)
protected void readFieldDefinitions()
public List getFieldDefinitions()
public boolean isSemanticallyEqual(SignatureTypeDefinition other)
One profile is semantically equal to another one if the captions and keys of both profiles are equal and have the same order.
other - The other signature profile.
protected static List filterOutNonRequiredFoundKeys(List keys)
keys - The List of keys.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||