Cheshire3 Objects: Extracter |
An Extracter is a processing object called by an Index with the value of an evaluated XPath expression or with a string. Example normalisers might extract keywords from an element or the entire contents thereof as a single string. Extracters must also be used on the query terms to apply the same keyword processing rules, for example.
Function | Parameters | Returns | Description |
---|---|---|---|
__init__ | config, parent | ||
process_string | session, string | hash | Process a raw string, eg from an attribute value |
process_node | session, domNode | hash | Process a DOM node |
process_eventList | session, list of SAX events | hash | Process a list of SAX events |