CollectionDataProvider
This DataProvider, reads an XML with a pull/push parser and executes fields bound to xml events. At the moment, only pull parser is handled, using the AXIOM implementation. Called fields are the following:
- START_DOCUMENT
- END_DOCUMENT
- NAMESPACE
- PROCESSING_INSTRUCTION
- ENTITY_REFERENCE
- DTD
- ATTRIBUTE
- START_ELEMENT
- END_ELEMENT
- CHARACTERS
In addition to 'input' and 'output' variables, following are bound to the context of expressions:
- environment: an helper map to pass objects between field;
- parser: the pull/push parser.
The following table shows the CollectionDataProvider element's attributes:
Attribute | Type | Description |
---|---|---|
name | required | The attribute's value cannot be null. |
type | fixed | This attribute must assume the value dataProvider. |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.gvdp.impl.CollectionDataProvider. |
source-selector | optional | OGNL expression to provide the root object to be passed to the expression stated in the 'Field' items. |
Might contain one or more sub-element Field.