|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.phoenix_int.aserver.types.PHXSimpleType
com.phoenix_int.aserver.types.PHXString
public class PHXString
The Phoenix type for Strings. This class adds the following features to the PHXSimpleType:
PHXSimpleType| Constructor Summary | |
|---|---|
PHXString()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
arrayToString(java.lang.String[] sa)
|
void |
fromString(java.lang.String value)
converts a String representation to the internal value |
void |
fromString2(PHXStringBuffer value)
converts a PHXStringBuffer representation to the internal value |
java.lang.String[] |
getEnumAliases()
An interface function for the enumeration array |
java.lang.String |
getEnumAliasesStr()
An interface function for the enumeration array |
java.lang.String[] |
getEnumValues()
lists enum values |
java.lang.String |
getEnumValuesStr()
Interface function to pass out the enumeration array as a comma separated string |
java.lang.String |
getValue()
retrieves the current value of the variable |
static void |
main(java.lang.String[] args)
|
void |
setEnumAliases(java.lang.String values)
takes a comma seperated string of values and fills the enumeration aliases list with values. |
void |
setEnumAliases(java.lang.String[] values)
takes an array of values and fills the enumeration aliases list with values. |
void |
setEnumValues(java.lang.String input)
sets enum values |
void |
setEnumValues(java.lang.String[] values)
sets enum values |
void |
setValue(PHXStringBuffer v)
sets the value for the variable |
void |
setValue(java.lang.String v)
sets the value for the variable |
java.lang.String |
toString()
converts the variable to a string |
PHXStringBuffer |
toString2()
converts the variable to a PHXStringBuffer |
| Methods inherited from class com.phoenix_int.aserver.types.PHXSimpleType |
|---|
addPropertyChangeListener, getDescription, getEnumTokens, getHasChanged, getUnits, removePropertyChangeListener, setDescription, setHasChanged, setUnits |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PHXString()
| Method Detail |
|---|
public java.lang.String getValue()
public void setValue(java.lang.String v)
throws java.lang.IllegalArgumentException
v - the value
java.lang.IllegalArgumentException
public void setValue(PHXStringBuffer v)
throws java.lang.IllegalArgumentException
v - the value
java.lang.IllegalArgumentExceptionpublic PHXStringBuffer toString2()
public java.lang.String toString()
toString in interface IPHXTypetoString in class java.lang.Objectpublic void fromString2(PHXStringBuffer value)
value - the value to convertpublic void fromString(java.lang.String value)
value - the value to convertpublic java.lang.String[] getEnumValues()
public java.lang.String getEnumValuesStr()
public void setEnumValues(java.lang.String input)
value: - list of enum valuespublic void setEnumValues(java.lang.String[] values)
value: - list of enum valuespublic void setEnumAliases(java.lang.String values)
values - A comma seperated string of enumeration aliasespublic void setEnumAliases(java.lang.String[] values)
values - A string array of enumeration aliasespublic java.lang.String[] getEnumAliases()
public java.lang.String getEnumAliasesStr()
public static java.lang.String arrayToString(java.lang.String[] sa)
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||