|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.type.AbstractDataType
com.sapportals.htmlb.type.DataString
Copyright 2004 SAP AG
| Constructor Summary | |
DataString()
|
|
DataString(String value)
|
|
| Method Summary | |
int |
compareTo(Object o)
|
int |
getLength()
returns the length |
int |
getMinLength()
returns the minimal length |
String |
getPattern()
returns the pattern |
DataType |
getType()
gets an instance of the DataType enum class that identifies the DataType. |
boolean |
getUppercaseOnly()
returns uppercaseOnly |
String |
getValue()
|
String |
getValueAsString()
|
boolean |
isEncode()
|
boolean |
isLocaleSpecific()
determines if a DataType is locale specific, i.e. needs formatting of values prior to output. |
void |
setEncode(boolean encode)
|
void |
setLength(int length)
sets the length |
void |
setMinLength(int minlength)
sets the length |
void |
setPattern(String pattern)
sets the pattern |
void |
setUppercaseOnly(boolean uppercaseOnly)
sets uppercaseOnly |
void |
setValue(Object value)
sets a value of the DataType. |
void |
setValue(String value)
|
String |
toString()
|
String |
toString(Locale locale)
gets a String representation of the DataTypes value. |
| Methods inherited from class com.sapportals.htmlb.type.AbstractDataType |
dataTypes, getInstance, getValidator, isValid, registerDataType, setValue, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DataString()
public DataString(String value)
| Method Detail |
public void setEncode(boolean encode)
public boolean isEncode()
public boolean isLocaleSpecific()
AbstractDataType
isLocaleSpecific in class AbstractDataTypepublic DataType getType()
AbstractDataType
getType in class AbstractDataTypepublic String toString()
public String toString(Locale locale)
AbstractDataType
toString in class AbstractDataTypelocale - the locale for which to format the value
public String getValue()
public String getValueAsString()
getValueAsString in class AbstractDataTypepublic void setValue(String value)
public void setValue(Object value)
AbstractDataType
setValue in class AbstractDataTypevalue - the value in some locale specific formatpublic int compareTo(Object o)
compareTo in interface Comparablepublic boolean getUppercaseOnly()
public void setUppercaseOnly(boolean uppercaseOnly)
public String getPattern()
public void setPattern(String pattern)
public int getLength()
public void setLength(int length)
public int getMinLength()
public void setMinLength(int minlength)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||