站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

ValueManager - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model22.impl.preferences
Class ValueManager

java.lang.Object
  extended byorg.jboss.portal.migration.model22.impl.preferences.ValueManager

public class ValueManager
extends java.lang.Object

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

TYPE_STRING

public static final int TYPE_STRING
Represents a string type.

See Also:
Constant Field Values

TYPE_INTEGER

public static final int TYPE_INTEGER
Represents a integer type.

See Also:
Constant Field Values

TYPE_BOOLEAN

public static final int TYPE_BOOLEAN
Represents a boolean type.

See Also:
Constant Field Values

TYPE_FLOAT

public static final int TYPE_FLOAT
Represents a boolean type.

See Also:
Constant Field Values
Constructor Detail

ValueManager

public ValueManager()
Method Detail

toValue

public static Value toValue(TypedStringArray tsa)

toTypedStringArray

public static TypedStringArray toTypedStringArray(Value value)