|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xins.common.types.Type
org.xins.common.types.List
org.xins.common.types.standard.List
Standard type _list.
| Nested Class Summary | |
static class |
List.Value
Inner class that represents a list of String. |
| Field Summary | |
static List |
SINGLETON
The only instance of this class. |
| Method Summary | |
ItemList |
createList()
Creates a new ItemList. |
static List.Value |
fromStringForOptional(String string)
Constructs a List.Value from the specified string. |
static List.Value |
fromStringForRequired(String string)
Constructs a List.Value from the specified string
which is guaranteed to be non-null. |
String |
getDescription()
Retrieves the description of this type. |
static String |
toString(List.Value value)
Converts the specified List.Value to a string. |
| Methods inherited from class org.xins.common.types.List |
fromStringImpl, isValidValueImpl, toString, toString |
| Methods inherited from class org.xins.common.types.Type |
checkValue, fromString, getName, getValueClass, isValidValue, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final List SINGLETON
null.
| Method Detail |
public ItemList createList()
ListItemList.
createList in class Listnull.
public static List.Value fromStringForRequired(String string)
throws IllegalArgumentException,
TypeValueException
List.Value from the specified string
which is guaranteed to be non-null.
string - the string to convert, cannot be null.
List.Value object, never null.
IllegalArgumentException - if string == null.
TypeValueException - if the specified string does not represent a valid value for this
type.
public static List.Value fromStringForOptional(String string)
throws TypeValueException
List.Value from the specified string.
string - the string to convert, can be null.
List.Value, or null if
string == null.
TypeValueException - if the specified string does not represent a valid value for this
type.public static String toString(List.Value value)
List.Value to a string.
value - the value to convert, can be null.
null if and
only if value == null.public String getDescription()
Type
getDescription in class Typenull.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||