- Inheritance
- Object
- NodeProvider
- NodeProviderImpl
- SimpleNodeProvider
- ResolvingNodeProvider
Constructors
- ResolvingNodeProvider([Map<String, dynamic> defaultNodes, Map<String, NodeFactory> profiles ])
Properties
- handler → ResolveNodeHandler
-
read / write
- defs → SimpleHiddenNode
-
defs node
read / write, inherited - hashCode → int
-
The hash code for this object.
read-only, inherited - nodes → Map<String, LocalNode>
-
All the nodes in this node provider.
final, inherited - permissions → IPermissionManager
-
Permissions
read / write, inherited - profileMap → Map<String, NodeFactory>
-
read-only, inherited
- root → SimpleNode
-
Root node
read / write, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - sys → SimpleHiddenNode
-
sys node
read / write, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited -
operator [](
String path) → LocalNode -
Gets an existing node, or creates a dummy node for a requester to listen on.
inherited -
operator ~(
) → LocalNode -
Get the root node.
inherited
Methods
-
addNode(
String path, Map m) → SimpleNode -
Adds a node at the given
path
that is initialized with the given data inm
. -
getNode(
String path, { Completer<CallbackNode> onLoaded, bool forceHandle: false }) → LocalNode -
Gets an existing node.
-
getOrCreateNode(
String path, [ bool addToTree = true, bool init = true ]) → LocalNode -
Gets a node at the given
path
if it exists. If it does not exist, create a new node and return it. -
addProfile(
String name, NodeFactory factory) → void -
inherited
-
createNode(
String path, [ bool init = true ]) → SimpleNode -
Creates a node at
path
. If a node already exists at this path, an exception is thrown. Ifinit
is false, onCreated() is not called.inherited -
createResponder(
String dsId, String sessionId) → Responder -
Creates a responder with the given
dsId
.inherited -
hasNode(
String path) → bool -
Checks if this provider has the node at
path
.inherited -
init(
[Map<String, dynamic> m, Map<String, NodeFactory> profiles ]) → void -
Initialize the node provider.
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
persist(
[bool now = false ]) → void -
Persist the nodes in this provider. If you are not using a LinkProvider, then call setPersistFunction to set the function that is called to persist.
inherited -
registerResolver(
SimpleNodeFactory factory) → void -
inherited
-
removeNode(
String path, { bool recurse: true }) → void -
Removes the node specified at
path
.inherited -
save(
) → Map -
Save the node provider to a map.
inherited -
setIconResolver(
IconResolver resolver) → void -
inherited
-
setNode(
String path, SimpleNode node, { bool registerChildren: false }) → void -
Sets the given
node
to the givenpath
.inherited -
setPersistFunction(
ExecutableFunction doPersist) → void -
Sets the function that persists the nodes.
inherited -
toString(
{bool showInstances: false }) → String -
Returns a string representation of this object.
inherited -
unregisterResolver(
SimpleNodeFactory factory) → void -
inherited
-
updateValue(
String path, Object value) → void -
Updates the value of the node at
path
to the givenvalue
.inherited