Supplies secondary instances without reading a file, e.g. from a database (ODK Collect uses this for entity lists).
Port of ExternalInstanceParser.InstanceProvider. Providers are
synchronous because a partial instance is completed on demand during
XPath evaluation (see ExternalDataInstance).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
String instanceId, String instanceSrc, {bool partial = false}) → TreeElement -
The instance's top-level element; with
partial, elements may be placeholders marked partial (TreeElement.isPartial) that are filled in later by a full get. -
isSupported(
String instanceId, String instanceSrc) → bool -
Whether this provider supplies the instance
instanceIdatinstanceSrc. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited