Difference between revisions of "XMLEventCollectionDataProvider"
(Created page with "XMLEventCollectionDataProvider 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 ...") |
(No difference)
|
Latest revision as of 13:41, 2 March 2012
XMLEventCollectionDataProvider 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 XMLEventCollectionDataProvider element's attributes:
Attribute | Type | Description |
---|---|---|
name | required | The attribute's value can't be null. |
type | fixed | This attribute must assume the value dataProvider. |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.gvdp.impl.XMLEventCollectionDataProvider. |
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.