public class Parameters
extends java.lang.Object
Constructor and Description |
---|
Parameters(java.io.PrintWriter parserLogStream) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String name,
Value value) |
Value |
get(Prefix prefix,
java.lang.String name) |
Value |
get(SimNode simNode,
java.lang.String name) |
Value |
get(java.lang.String name) |
Value |
getOrUseDefault(Prefix prefix,
java.lang.String name,
java.lang.String defaultValue) |
Value |
getOrUseDefault(SimNode simNode,
java.lang.String name,
java.lang.String defaultValue) |
Value |
getOrUseDefault(java.lang.String name,
java.lang.String defaultValue)
caution - handle with care
|
boolean |
hasParameter(Prefix prefix,
java.lang.String name) |
boolean |
hasParameter(SimNode simNode,
java.lang.String name) |
boolean |
hasParameter(java.lang.String name) |
boolean |
hasSubTree(Prefix prefix) |
boolean |
hasSubTree(SimNode simNode) |
boolean |
hasSubTree(java.lang.String name) |
public void add(java.lang.String name, Value value)
public boolean hasParameter(SimNode simNode, java.lang.String name)
public boolean hasParameter(Prefix prefix, java.lang.String name)
public boolean hasParameter(java.lang.String name)
public boolean hasSubTree(SimNode simNode)
public boolean hasSubTree(Prefix prefix)
public boolean hasSubTree(java.lang.String name)
public Value get(java.lang.String name)
public Value getOrUseDefault(java.lang.String name, java.lang.String defaultValue)
public Value getOrUseDefault(SimNode simNode, java.lang.String name, java.lang.String defaultValue)