public class HttpGetSrcNode extends AbstractSrcNode
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
lLocs, parent, sName| Constructor and Description |
|---|
HttpGetSrcNode(DasDirNode parent,
java.lang.String name,
java.util.List<java.lang.String> locations) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initFromJson(JSONObject jo) |
boolean |
isLoaded()
Does this node have a full definition
|
void |
load(ProgressMonitor mon)
Phase 2 construction for the node.
|
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.
|
QDataSet |
query(java.util.Map<java.lang.String,java.lang.String> dQuery)
Given a parameter query string, get the access information.
|
boolean |
queryVerify(java.util.Map<java.lang.String,java.lang.String> dQuery)
Determine if the given list of query parameters are valid
|
java.lang.String |
type()
Get the node type.
|
isDir, isInfo, isSrcgetRoot, isRoot, name, path, prettyPrintLoc, toStringpublic static final java.lang.String TYPE
public HttpGetSrcNode(DasDirNode parent, java.lang.String name, java.util.List<java.lang.String> locations)
public java.lang.String type()
DasNodepublic boolean isLoaded()
DasNodeprotected void initFromJson(JSONObject jo)
throws JSONException,
java.text.ParseException
JSONExceptionjava.text.ParseExceptionpublic DasProp prop(java.lang.String sFragment, java.lang.Object oDefault)
DasNodesFragment - 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.public DasProp prop(java.lang.String sFragment)
DasNodepublic void load(ProgressMonitor mon) throws DasResolveException
DasNodemon - A human amusement device incase network operations are taking a while.DasResolveExceptionpublic QDataSet query(java.util.Map<java.lang.String,java.lang.String> dQuery)
DasSrcNodepublic boolean queryVerify(java.util.Map<java.lang.String,java.lang.String> dQuery)
DasSrcNode