Skip to content

Commit

Permalink
Add docs for filtering and custom function plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
seadowg committed Jul 11, 2024
1 parent 9037d1e commit 5aa051f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion PLUGINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,18 @@ Inspect external instances (their ID and parsed XML) after parsing or provide cu
### API
- `ExternalInstanceParser#addFileInstanceParser`

The default `ExternalInstanceParser` can be overridden by creating an implementation of `ExternalInstanceParserFactory` and calling `XFormUtils.setExternalInstanceParserFactory` with it.
The default `ExternalInstanceParser` can be overridden by creating an implementation of `ExternalInstanceParserFactory` and calling `XFormUtils.setExternalInstanceParserFactory` with it.

## Function

Add custom functions that can be called from XPath.

### API
- `FormEntryController#addFunctionHandler`

## Predicate evaluation

Add custom strategies for filtering nodes for predicate expressions.

### API
- `FormEntryController#addFilterStrategy`

0 comments on commit 5aa051f

Please sign in to comment.