当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
BooleanValue - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.migration.model22.other
Class BooleanValue
java.lang.Object
org.jboss.portal.migration.model22.other.Value
org.jboss.portal.migration.model22.other.BooleanValue
- All Implemented Interfaces:
- java.io.Serializable
- public class BooleanValue
- extends Value
- See Also:
- Serialized Form
Method Summary |
java.lang.Object[] |
asObjectArray()
Return the values as an array of converted object. |
java.lang.String |
asString()
Return the value as a string or null if the value is null. |
java.lang.String[] |
asStringArray()
Return the values as an array of string. |
boolean |
isInstanceOf(java.lang.Class clazz)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BooleanValue
public BooleanValue()
BooleanValue
public BooleanValue(java.lang.Boolean value)
BooleanValue
public BooleanValue(boolean value)
BooleanValue
public BooleanValue(java.lang.String value)
BooleanValue
public BooleanValue(java.lang.Boolean[] values)
BooleanValue
public BooleanValue(boolean[] _values)
BooleanValue
public BooleanValue(java.lang.String[] values)
throws java.lang.IllegalArgumentException
isInstanceOf
public boolean isInstanceOf(java.lang.Class clazz)
- Specified by:
isInstanceOf
in class Value
asStringArray
public java.lang.String[] asStringArray()
- Description copied from class:
Value
- Return the values as an array of string.
- Overrides:
asStringArray
in class Value
asString
public java.lang.String asString()
- Description copied from class:
Value
- Return the value as a string or null if the value is null.
- Overrides:
asString
in class Value
asObjectArray
public java.lang.Object[] asObjectArray()
- Description copied from class:
Value
- Return the values as an array of converted object.
Must always return a non null array !!!
- Specified by:
asObjectArray
in class Value