This is a generic property tester for TextGridObjects. Currently the
following properties are supported:
- stringValue
- An XPath expression to evaluate on the
TextGridObject
's current
metadata state, see TextGridObject#getStringValue(String, boolean)
. The given
argument must be an XPath expression to evaluate on the current expression,
where the namespace prefix 'tg:' is already bound to the metadata namespace.
If an expectedValue != null is given, it must be a string which is compared
against the string result.
- stringValueFast
- Like stringValue, but accuracy is given up for speed. I.e., if
the TextGridObject hasn't loaded the complete metadata set yet, it will not be loaded automatically. Please note
that incomplete TextGridObjects should be queried using
.//property
since correct nesting of the metadata
values isn't guaranteed.