| org.griphyn.vdl.classes.VDL org.griphyn.vdl.classes.Pass
Constructor Summary | |
public | Pass() Ctor. | public | Pass(String bind) Convenience ctor: Establishes a binding with an empty value. | public | Pass(String bind, Value value) Convencience ctor: Establishes a binding with a value. |
Method Summary | |
public Object | clone() Creates and returns a copy of this object. | public String | getBind() Accessor: Gets the current bound variable name.
the name of the variable bound to. | public Value | getValue() Accessor: Gets the current value to be passed. | public void | setBind(String bind) Accessor: Sets a new binding with a formal argument. | public void | setValue(Value value) Accessor: Sets a new value for a bound variable. | public void | toString(Writer stream) Converts the active state into something meant for human consumption.
The method will be called when recursively traversing the instance
tree.
Parameters: stream - is a stream opened and ready for writing. | public void | toXML(Writer stream, String indent, String namespace) Dump the state of the current element as XML output. |
Pass | public Pass(String bind)(Code) | | Convenience ctor: Establishes a binding with an empty value.
Note that the value is still null, and must be set explicitely.
Parameters: bind - is the name of the formal argument to bind to. See Also: Pass.setValue(Value) |
Pass | public Pass(String bind, Value value)(Code) | | Convencience ctor: Establishes a binding with a value.
Parameters: bind - is the name of the formal argument to bind to. Parameters: value - is the value to pass to a Transformation. |
clone | public Object clone()(Code) | | Creates and returns a copy of this object.
a new instance, semi-deep copy |
setBind | public void setBind(String bind)(Code) | | Accessor: Sets a new binding with a formal argument.
Parameters: bind - is the new binding name. See Also: Pass.getBind() |
setValue | public void setValue(Value value)(Code) | | Accessor: Sets a new value for a bound variable.
Parameters: value - is the new value, which can be a Scalar ora List. See Also: Pass.getValue() |
toString | public void toString(Writer stream) throws IOException(Code) | | Converts the active state into something meant for human consumption.
The method will be called when recursively traversing the instance
tree.
Parameters: stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output. exception: IOException - if something fishy happens to the stream. |
toXML | public void toXML(Writer stream, String indent, String namespace) throws IOException(Code) | | Dump the state of the current element as XML output. This function
traverses all sibling classes as necessary, and converts the data
into pretty-printed XML output. The stream interface should be able
to handle large output efficiently, if you use a buffered writer.
Parameters: stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output. Parameters: indent - is a String of spaces used for prettyprinting. The initial amount of spaces should be an empty string.The parameter is used internally for the recursive traversal. Parameters: namespace - is the XML schema namespace prefix. If neitherempty nor null, each element will be prefixed with this prefix,and the root element will map the XML namespace. exception: IOException - if something fishy happens to the stream. |
|
|