Public Member Functions | |
TableRecord (HashMap fieldValues) | |
Creates a new instance of TableRecord. | |
TableRecord (HashMap fieldValues, HashMap fullFieldValues, String name) | |
Creates a New Instance of a Table Record, given a set of values and a Document Section . | |
ResultNode | execute (ArrayList< DocPattern > patterns) |
Renders a record using the specified Pattern list. | |
String | getValue () |
Return the string value of this record. | |
Protected Attributes | |
HashMap | _fieldValues |
HashMap containing each field within this Record (Row) and its value. | |
HashMap | _fullFieldValues |
HashMap containing each field within this Record (Row) and its value. | |
String | _name |
HashMap containing each field within this Record (Row) and its value. |
Definition at line 20 of file TableRecord.java.
dochelper.TableRecord.TableRecord | ( | HashMap | fieldValues | ) |
Creates a new instance of TableRecord.
fieldValues |
Definition at line 37 of file TableRecord.java.
dochelper.TableRecord.TableRecord | ( | HashMap | fieldValues, | |
HashMap | fullFieldValues, | |||
String | name | |||
) |
Creates a New Instance of a Table Record, given a set of values and a Document Section
.
fieldValues | hashMap containing field names and field values for Searched Fields | |
fullFieldValues | HashMap containing all field names and its values | |
name |
Definition at line 52 of file TableRecord.java.
ResultNode dochelper.TableRecord.execute | ( | ArrayList< DocPattern > | patterns | ) |
Renders a record using the specified Pattern list.
This method will iterate through all patterns passed in if any, and execute the pattern passing the contents of the row this record represents.
In this case the value of the record will not be fetched using getValue. It will be fetched directly from the fieldValues has map.
Implements dochelper.Record.
Definition at line 72 of file TableRecord.java.
String dochelper.TableRecord.getValue | ( | ) |
Return the string value of this record.
For table record sets this value is not used as the string to search against. Each field in a row is checked indiidually.
Implements dochelper.Record.
Definition at line 98 of file TableRecord.java.
HashMap dochelper.TableRecord._fieldValues [protected] |
HashMap containing each field within this Record (Row) and its value.
Definition at line 25 of file TableRecord.java.
HashMap dochelper.TableRecord._fullFieldValues [protected] |
HashMap containing each field within this Record (Row) and its value.
Definition at line 28 of file TableRecord.java.
String dochelper.TableRecord._name [protected] |
HashMap containing each field within this Record (Row) and its value.
Definition at line 31 of file TableRecord.java.