Public Member Functions | |
ResultNode | operate (ResultNode doc) |
Sorts the tree of ResultNode doc alphabetically. | |
void | checkParams () throws InvalidValueException, MissingArgumentException, ResourceUnavailableException |
void | init () throws InitializationException, ResourceUnavailableException |
void | setParam (String paramName, Object value) throws IllegalParamterTypeException |
Protected Attributes | |
HashMap< String, Object > | params = new HashMap<String, Object>() |
Static Protected Attributes | |
static final String | DIRECTION = "direction" |
Private Member Functions | |
void | orderTree (ResultNode doc) |
Classes | |
class | ResultNodeComparator |
Definition at line 26 of file MatchOrderProcessor.java.
ResultNode dochelper.MatchOrderProcessor.operate | ( | ResultNode | doc | ) |
Sorts the tree of ResultNode doc
alphabetically.
The param direction
of params indicates the direction the tree is sorted.
doc | The node that represent the root of the tree to process. |
Exception |
Implements dochelper.Processor.
Definition at line 49 of file MatchOrderProcessor.java.
void dochelper.MatchOrderProcessor.orderTree | ( | ResultNode | doc | ) | [private] |
Definition at line 58 of file MatchOrderProcessor.java.
void dochelper.MatchOrderProcessor.checkParams | ( | ) | throws InvalidValueException, MissingArgumentException, ResourceUnavailableException |
Implements dochelper.Configurable.
Definition at line 99 of file MatchOrderProcessor.java.
void dochelper.MatchOrderProcessor.init | ( | ) | throws InitializationException, ResourceUnavailableException |
Implements dochelper.Configurable.
Definition at line 105 of file MatchOrderProcessor.java.
void dochelper.MatchOrderProcessor.setParam | ( | String | paramName, | |
Object | value | |||
) | throws IllegalParamterTypeException |
Implements dochelper.Configurable.
Definition at line 115 of file MatchOrderProcessor.java.
final String dochelper.MatchOrderProcessor.DIRECTION = "direction" [static, protected] |
Definition at line 31 of file MatchOrderProcessor.java.
HashMap<String, Object> dochelper.MatchOrderProcessor.params = new HashMap<String, Object>() [protected] |
Definition at line 37 of file MatchOrderProcessor.java.