Class SDKSystem
Object
|
+--SDKSystem
- class
SDKSystem
Supporting class; manages the backing nodes used for extension handling samples.
Description
- Supporting class for script defined node extension samples
- Stores the prefix used by the handled nodes
- Stores the root node of the hierarchy
A manager object for a node hierarchy. This class manages a node hierarchy that contains
nodes of the type handled by the sample node-handling extension. The constructor accepts the
Bridge URI prefix that is used to identify handled nodes.
See:
Defined in SDKSystem.jsx
Method Summary |
void
|
addRoot(root)
Adds a node of the handled type as the root node of this node hierarchy.
|
void
|
addSearchNode(n)
Adds a search node into the system.
|
SDKNode
|
getNodeFromPath(path)
Finds and returns a node of the handled type from a path
|
String
|
getPrefix()
Retrieves the prefix defined for the handled node type.
|
prefix
String prefix
The prefix to be used for this node type.
root
SDKNode root
searchNode
SDKNode searchNode
The search node. A special node used for storing search results.
SDKSystem
SDKSystem(prefix)
Parameters:
prefix
- The URI prefix for the handled nodes
addRoot
void addRoot(root)
Adds a node of the handled type as the root node of this node hierarchy.
Parameters:
root
- The SDKNode which is the root node of this hierarchy
addSearchNode
void addSearchNode(n)
Adds a search node into the system. There is only ever
a single search node.
Parameters:
n
- The SDKNode which is the search node.
getNodeFromPath
SDKNode getNodeFromPath(path)
Finds and returns a node of the handled type from a path
Parameters:
path
- The path of the node to find in the system
Returns:
The node with the given path, or null if not found.
getPrefix
String getPrefix()
Retrieves the prefix defined for the handled node type.
http://www.adobe.com/devnet/bridge
Documentation generated by
JSDoc on Tue Apr 27 10:21:34 2010