BindBuilderXFormsElement class final
A builder for a <bind> element, configured with cascades.
final element = bind('/data/age')
..type('int')
..required()
..constraint('. > 0');
Port of org.javarosa.test.BindBuilderXFormsElement.
- Inheritance
-
- Object
- XFormsElement
- BindBuilderXFormsElement
Properties
-
attributes
→ Map<
String, String> -
Attributes in insertion order.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Qualified element name, for example
h:headorinput.finalinherited - nodeset → String
-
The bind's
nodesetattribute.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
asXml(
) → String -
Serializes this element and its descendants as XML.
override
-
calculate(
String expression) → void -
Sets the
calculateexpression. -
constraint(
String expression) → void -
Sets the
constraintexpression. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
preload(
String expression) → void -
Sets the
jr:preloadattribute. -
readonly(
[String expression = 'true()']) → void -
Sets the
readonlyexpression (defaulttrue()). -
relevant(
String expression) → void -
Sets the
relevantexpression. -
required(
[String expression = 'true()']) → void -
Sets the
requiredexpression (defaulttrue()). -
toString(
) → String -
A string representation of this object.
inherited
-
type(
String type) → void -
Sets the data
type, for exampleintorgeopoint. -
withAttribute(
String namespace, String name, String expression) → void -
Sets an arbitrary namespaced attribute
namespace:name.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited