public interface DasNode
Modifier and Type | Method and Description |
---|---|
DasNode |
getRoot()
Return the highest node reachable by this catalog node.
|
boolean |
isDir()
Can this catalog node have the sub-nodes?
|
boolean |
isInfo()
Is this object an information node.
|
boolean |
isLoaded()
Does this node have a full definition
|
boolean |
isRoot()
Is this object a detached root of a catalog tree.
|
boolean |
isSrc()
Can this catalog node provide data
|
void |
load(ProgressMonitor mon)
Phase 2 construction for the node.
|
java.lang.String |
name()
get the node name
|
java.lang.String |
path()
get the node path
|
DasProp |
prop(java.lang.String sFragment)
Get a property of a node
|
DasProp |
prop(java.lang.String sFragment,
java.lang.Object oDefault)
Get a property of the node, or the default
Similar to sub-page references for web-pages, property values are retrieved
by providing a fragment path.
|
java.lang.String |
toString()
A summary of the node
|
java.lang.String |
type()
Get the node type.
|
java.lang.String type()
java.lang.String name()
java.lang.String path()
java.lang.String toString()
toString
in class java.lang.Object
boolean isRoot()
boolean isSrc()
boolean isDir()
boolean isInfo()
DasNode getRoot()
boolean isLoaded()
void load(ProgressMonitor mon) throws DasResolveException
mon
- A human amusement device incase network operations are taking a while.DasResolveException
DasProp prop(java.lang.String sFragment, java.lang.Object oDefault)
sFragment
- The fragment path, for example "tech_contact/0/email"oDefault
- The default object to return if nothing exists at the
fragment location. The object will be wrapped as a
DasProp, so it must be null or one of the accepted
object types defined for constructing DasProp objects.DasProp prop(java.lang.String sFragment)
sFragment
-