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, isSrc
getRoot, isRoot, name, path, prettyPrintLoc, toString
public 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()
DasNode
public boolean isLoaded()
DasNode
protected void initFromJson(JSONObject jo) throws JSONException, java.text.ParseException
JSONException
java.text.ParseException
public DasProp prop(java.lang.String sFragment, java.lang.Object oDefault)
DasNode
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.public DasProp prop(java.lang.String sFragment)
DasNode
public void load(ProgressMonitor mon) throws DasResolveException
DasNode
mon
- A human amusement device incase network operations are taking a while.DasResolveException
public QDataSet query(java.util.Map<java.lang.String,java.lang.String> dQuery)
DasSrcNode
public boolean queryVerify(java.util.Map<java.lang.String,java.lang.String> dQuery)
DasSrcNode