Devsphere.com


com.devsphere.xml.taglib.output.builder
Class Parameters

java.lang.Object
  |
  +--com.devsphere.xml.taglib.support.builder.ParametersSupport
        |
        +--com.devsphere.xml.taglib.output.builder.Parameters
All Implemented Interfaces:
java.io.Serializable

public class Parameters
extends ParametersSupport

Parses the command line parameters of the code generator that produces JSPs that output XML documents.

See Also:
Serialized Form

Constructor Summary
Parameters(java.lang.String[] args)
          Constructor that takes the command line parameters and initializes the builder's parameters
 
Method Summary
 void exit(java.lang.String msg)
          Stops the code generator and prints a message followed by the command line syntax.
 java.lang.String getOutput()
          Gets the value of the output parameter
 java.lang.String getSample()
          Gets the value of the sample parameter
 
Methods inherited from class com.devsphere.xml.taglib.support.builder.ParametersSupport
getFlag, getParameter, getParameterValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameters

public Parameters(java.lang.String[] args)
Constructor that takes the command line parameters and initializes the builder's parameters

Parameters:
args - the command line parameters
Method Detail

exit

public void exit(java.lang.String msg)
Stops the code generator and prints a message followed by the command line syntax.

Parameters:
msg - message that must be printed

getSample

public java.lang.String getSample()
Gets the value of the sample parameter


getOutput

public java.lang.String getOutput()
Gets the value of the output parameter


 Devsphere.com