|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.object.factory.Param
Field Summary | |
static String |
DATA
|
static int |
KEY
|
private IeAtt |
myAtt
|
static String[] |
TYPES
|
static int |
UNKNOWN
|
static int |
VALUE
|
Constructor Summary | |
Param(IeAtt att)
Constructs a parameter wrapper around an existing set of meta. |
|
Param(String name,
int type)
Constructs a named parameter without a value. |
|
Param(String name,
int type,
String data)
Constructs a named parameter with a value. |
|
Param(String name,
String data)
Constructs a named parameter without a type. |
|
Param(String name,
String type,
String data)
Constructs a named parameter with a value. |
Method Summary | |
Enumeration |
applyBinding(Task task)
Bind this parameter to variable substitutions in the context of a specified task, and return the resulting value. |
private Enumeration |
applyDelim(String input)
Break the input string into multiple strings using the delimiter for this parameter. |
Object |
clone()
Creates a shallow copy of this parameter. |
protected IeAtt |
getAtt()
Returns the parameter's internal attribute structure. |
String |
getData()
Returns the value of this parameter. |
String |
getDefault()
Returns this parameter's default value. |
String |
getDelim()
Returns this parameter's delimiter (DELIM) value. |
String |
getElementSeparator()
Returns this parameter's element separator value. |
String |
getName()
Returns this parameter's name. |
int |
getType()
Returns this parameter's type. |
String |
getValueSeparator()
Returns this parameter's value separator value. |
protected static IeAtt |
newStructure(String key,
int type,
String val)
Builds a new webject parameter for the given key and value. |
void |
printTree()
Prints the structure of the parameter to System.out. |
protected void |
setAtt(IeAtt att)
Sets the parameter's internal attribute structure. |
void |
setData(String value)
Sets the value of this parameter. |
void |
setDefault(String value)
Sets this parameter's default value. |
void |
setDelim(String value)
Sets this parameter's delimiter (DELIM) value. |
void |
setElementSeparator(String value)
Sets this parameter's element separator value. |
void |
setName(String name)
Sets this parameter's name. |
void |
setType(int type)
Sets this parameter's type. |
void |
setType(String type)
Sets this parameter's type. |
void |
setValueSeparator(String value)
Sets this parameter's value separator value. |
private Vector |
subVariables(Task task)
Parse the input string and return a vector of objects. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DATA
public static final String[] TYPES
public static final int UNKNOWN
public static final int KEY
public static final int VALUE
private IeAtt myAtt
Constructor Detail |
public Param(String name, String type, String data)
name
- the name of the parametertype
- the type of the parameterdata
- the value of the parameterpublic Param(String name, int type, String data)
name
- the name of the parametertype
- the type of the parameterdata
- the value of the parameterpublic Param(String name, int type)
name
- the name of the parametertype
- the type of the parameterpublic Param(String name, String data)
name
- the name of the parameterdata
- the value of the parameterpublic Param(IeAtt att)
att
- an Info*Engine attribute objectMethod Detail |
public String getName()
public void setName(String name)
name
- The parameter's new name.public String getDefault()
public void setDefault(String value)
value
- The parameter's new default value.public String getDelim()
public void setDelim(String value)
value
- The parameter's new default value.public String getElementSeparator()
public void setElementSeparator(String value)
value
- The parameter's new element separator value.public String getValueSeparator()
public void setValueSeparator(String value)
value
- The parameter's new value separator value.public Enumeration applyBinding(Task task)
task
- The task providing the binding context
private Vector subVariables(Task task)
task
- The task providing the binding context
private Enumeration applyDelim(String input)
input
- A string with delimiting characters
public int getType()
public void setType(int type)
type
- The parameter's new type.public void setType(String type)
type
- The parameter's new type.public String getData()
public void setData(String value)
value
- This parameter's string value.public Object clone()
protected static IeAtt newStructure(String key, int type, String val)
key
- The name of the new parameter.val
- The value of the new parameter.type
- The type of the new parameter.
protected IeAtt getAtt()
protected void setAtt(IeAtt att)
att
- The set of meta that defines this parameter.public void printTree()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |