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

StringValue - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.common.value
Class StringValue

java.lang.Object
  extended byorg.jboss.portal.common.value.Value
      extended byorg.jboss.portal.common.value.StringValue
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class StringValue
extends Value

Version:
$Revision: 5451 $
Author:
Julien Viet
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.common.value.Value
 
Field Summary
private static long serialVersionUID
          The serialVersionUID
private  java.lang.String[] values
          The String array.
 
Fields inherited from class org.jboss.portal.common.value.Value
 
Constructor Summary
StringValue()
           
StringValue(java.lang.String value)
           
StringValue(java.lang.String[] values)
           
 
Method Summary
protected  java.lang.Object[] getObjectArray()
          Return the values as an array of converted object.
 boolean isInstanceOf(java.lang.Class clazz)
           
 
Methods inherited from class org.jboss.portal.common.value.Value
asObject, asObjectArray, asObjectList, asString, asStringArray, asStringList, clone, equals, hashCode, isEmpty, isMultiValued, isNull, size, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serialVersionUID

See Also:
Constant Field Values

values

private java.lang.String[] values
The String array.

Constructor Detail

StringValue

public StringValue()

StringValue

public StringValue(java.lang.String value)

StringValue

public StringValue(java.lang.String[] values)
            throws java.lang.IllegalArgumentException
Method Detail

isInstanceOf

public boolean isInstanceOf(java.lang.Class clazz)
Specified by:
isInstanceOf in class Value

getObjectArray

protected java.lang.Object[] getObjectArray()
Description copied from class: Value
Return the values as an array of converted object. It must always return a non null array.

Specified by:
getObjectArray in class Value