| Modifier and Type | Method and Description |
|---|---|
FItem |
cast(Item it,
QueryContext ctx,
InputInfo ii)
Casts the specified item to the XQuery data type.
|
static MapType |
get(AtomType key,
SeqType val)
Creates a new map type.
|
boolean |
isMap()
Checks if the type refers to a map.
|
byte[] |
string()
Returns the string representation of this type.
|
java.lang.String |
toString() |
public final AtomType keyType
public byte[] string()
Typepublic boolean isMap()
Typepublic FItem cast(Item it, QueryContext ctx, InputInfo ii) throws QueryException
Typecast in interface Typecast in class FuncTypeit - item to be convertedctx - query contextii - input infoQueryException - query exceptionpublic static MapType get(AtomType key, SeqType val)
key - key typeval - value type