public interface TupleType extends FunctionItemType
ItemType.WithSequenceTypeCache
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.lang.String> |
getFieldNames()
Get the names of all the fields
|
SequenceType |
getFieldType(java.lang.String field)
Get the type of a given field
|
boolean |
isExtensible()
Ask whether the tuple type is extensible, that is, whether fields other than those named are permitted
|
boolean |
isOptional(java.lang.String field)
Ask whether a particular field is optional (that is, allowed to be absent from the map)
|
getAnnotationAssertions, getArgumentTypes, getGenre, getResultType, isArrayType, isMapType, makeFunctionSequenceCoercer, relationship
explainMismatch, generateJavaScriptItemTypeAcceptor, generateJavaScriptItemTypeTest, getAlphaCode, getAtomizedItemType, getPrimitiveItemType, getPrimitiveType, getUType, isAtomicType, isAtomizable, isPlainType, isTrueItemType, matches, toExportString, toString
java.lang.Iterable<java.lang.String> getFieldNames()
SequenceType getFieldType(java.lang.String field)
field
- the name of the fieldboolean isOptional(java.lang.String field)
field
- the name of the fieldboolean isExtensible()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.