|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.core.impl.portlet.state.ValueManager
public class ValueManager
A manager handling type conversion. For now we handle only basic types : java.lang.String, integer and boolean.
Field Summary | |
---|---|
static int |
TYPE_BOOLEAN
Represents a boolean type. |
static int |
TYPE_FLOAT
Represents a boolean type. |
static int |
TYPE_INTEGER
Represents a integer type. |
static int |
TYPE_STRING
Represents a string type. |
Constructor Summary | |
---|---|
ValueManager()
|
Method Summary | |
---|---|
static TypedStringArray |
toTypedStringArray(Value value)
|
static Value |
toValue(TypedStringArray tsa)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_STRING
public static final int TYPE_INTEGER
public static final int TYPE_BOOLEAN
public static final int TYPE_FLOAT
Constructor Detail |
---|
public ValueManager()
Method Detail |
---|
public static Value toValue(TypedStringArray tsa)
public static TypedStringArray toTypedStringArray(Value value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |