|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jsampler.LscpNode
public class LscpNode
| Constructor Summary | |
|---|---|
LscpNode(java.lang.String name)
Creates a new instance of LscpNode. |
|
LscpNode(java.lang.String name,
boolean endOfACommand)
Creates a new instance of LscpNode. |
|
LscpNode(java.lang.String name,
boolean endOfACommand,
boolean hasParameters)
Creates a new instance of LscpNode. |
|
LscpNode(java.lang.String name,
LscpNode child)
Creates a new instance of LscpNode with the specified
child wich is not an end of a command. |
|
LscpNode(java.lang.String name,
LscpNode[] children)
Creates a new instance of LscpNode with
the specified children which are not end of a command. |
|
LscpNode(java.lang.String name,
LscpNode[] children,
boolean endOfACommand)
Creates a new instance of LscpNode. |
|
LscpNode(java.lang.String name,
LscpNode[] children,
boolean endOfACommand,
boolean hasParameters)
Creates a new instance of LscpNode. |
|
LscpNode(java.lang.String name,
LscpNode child,
boolean endOfACommand)
Creates a new instance of LscpNode. |
|
LscpNode(java.lang.String name,
LscpNode child,
boolean endOfACommand,
boolean hasParameters)
Creates a new instance of LscpNode. |
|
| Method Summary | |
|---|---|
LscpNode[] |
getChildren()
Gets the children nodes of this node. |
java.lang.String |
getName()
Gets the name of this node. |
boolean |
hasParameters()
Determines whether the command represented by this path has one or more parameters. |
boolean |
isEndOfACommand()
Determines whether this node is last keyword of a command. |
void |
setChildren(LscpNode[] children)
Sets the children nodes of this node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LscpNode(java.lang.String name)
LscpNode.
name - The name of the node.
public LscpNode(java.lang.String name,
boolean endOfACommand)
LscpNode.
name - The name of the node.endOfACommand - Determines whether this node can be an end of a command.
public LscpNode(java.lang.String name,
boolean endOfACommand,
boolean hasParameters)
LscpNode.
name - The name of the node.endOfACommand - Determines whether this node can be an end of a command.hasParameters - When the node is an end of a command,
determines whether the command has one or more parameters.
public LscpNode(java.lang.String name,
LscpNode[] children)
LscpNode with
the specified children which are not end of a command.
name - The name of the node.children - The children nodes of this node.
public LscpNode(java.lang.String name,
LscpNode[] children,
boolean endOfACommand)
LscpNode.
name - The name of the node.children - The children nodes of this node.endOfACommand - Determines whether this node can be an end of a command.
public LscpNode(java.lang.String name,
LscpNode[] children,
boolean endOfACommand,
boolean hasParameters)
LscpNode.
name - The name of the node.children - The children nodes of this node.endOfACommand - Determines whether this node can be an end of a command.hasParameters - When the node is an end of a command,
determines whether the command has one or more parameters.isEndOfACommand()
public LscpNode(java.lang.String name,
LscpNode child)
LscpNode with the specified
child wich is not an end of a command.
name - The name of the node.child - The child node of this node.
public LscpNode(java.lang.String name,
LscpNode child,
boolean endOfACommand)
LscpNode.
name - The name of the node.child - The child node of this node.endOfACommand - Determines whether this node can be an end of a command.
public LscpNode(java.lang.String name,
LscpNode child,
boolean endOfACommand,
boolean hasParameters)
LscpNode.
name - The name of the node.child - The child node of this node.endOfACommand - Determines whether this node can be an end of a command.hasParameters - When the node is an end of a command,
determines whether the command has one or more parameters.| Method Detail |
|---|
public java.lang.String getName()
public LscpNode[] getChildren()
public void setChildren(LscpNode[] children)
children - The new children nodes of this node.public boolean isEndOfACommand()
RESET and RESET CHANNEL commands).
true if this node can be an end of a command,
false otherwise.public boolean hasParameters()
isEndOfACommand()
|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||