|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.http.representation.ValueBase
info.sswap.http.representation.ArrayValue
public class ArrayValue
Field Summary | |
---|---|
private Value[] |
array
The underlying array of values |
Constructor Summary | |
---|---|
ArrayValue()
Creates an empty array of values |
|
ArrayValue(Value[] array)
Creates an array of values initialized with the specified java array. |
Method Summary | |
---|---|
Value[] |
asArray()
Gets the representation of this value as an array of values. |
boolean |
isArray()
Checks whether this value is an array of values. |
Methods inherited from class info.sswap.http.representation.ValueBase |
---|
asBoolean, asDouble, asEntity, asInteger, asLiteral, asString, isBoolean, isDouble, isEntity, isInteger, isLiteral |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Value[] array
Constructor Detail |
---|
public ArrayValue()
public ArrayValue(Value[] array)
array
- the initial java arrayMethod Detail |
---|
public boolean isArray()
Value
isArray
in interface Value
isArray
in class ValueBase
public Value[] asArray()
Value
asArray
in interface Value
asArray
in class ValueBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |