META-INF.xsd.smooks.calc-1.1.xsd Maven / Gradle / Ivy
Smooks Calculation Configuration
Counter configuration
The counter can increment or decrement a value.
Counter
The result of this expression is the counter start value.
This expression is executed at the first count and every time the counter
is reset. The expression must result in an integer or a long.
If the startIndex attribute of the counter is set then this expression never gets
executed.
The result of this expression is the amount the counter increments or decrements.
This expression is executed every time the counter counts.
The expression must result in an integer.
If the amount attribute of the counter is set then this expression never gets
executed.
When the expression is set and results in a true value then the counter is reset to
the start index. The expression must result in a boolean.
The element on which the counter counts.
The namespace of the countOnElement element.
The beanId in which the counter value is stored. The value is always stored
as a Long type.
The amount that the counter increments or decrements the counter value.
The counter start value.
The direction that the counter counts. Can be INCREMENT (default) or DECREMENT.
If the counter is executed after the element else it will execute before the element.
Default is 'false'.
If the counter is executed after the element else it will execute before the element.
Default is 'false'.
Count up.
Count down.