Interface PrimitiveTypeValue
-
- All Superinterfaces:
Comparable<PrimitiveTypeValue>
- All Known Implementing Classes:
DecimalValue
,EmptyValue
,IntegerValue
,ParameterizedListValue
,StringValue
,URIValue
public interface PrimitiveTypeValue extends Comparable<PrimitiveTypeValue>
This models a value of a primitive type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrimitiveType
getType()
Returns the primitive typeboolean
isEmpty()
Tell whether this value represents an empty value.String
render()
Returns a string representing this value.scala.collection.immutable.Seq<String>
renderAsList()
Returns a list of strings representing this value.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getType
PrimitiveType getType()
Returns the primitive type- Returns:
- the primitive type
-
isEmpty
boolean isEmpty()
Tell whether this value represents an empty value.- Returns:
true
if and only if this value represents an empty value
-
render
String render()
Returns a string representing this value.- Returns:
- a string representing this value
-
renderAsList
scala.collection.immutable.Seq<String> renderAsList()
Returns a list of strings representing this value.- Returns:
- a list of strings representing this value
-
-