public interface TupleType extends FunctionItemType
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 |
isOptionalField(java.lang.String field)
Ask whether a given field is optional
|
getAnnotationAssertions, getArgumentTypes, getGenre, getResultType, isArrayType, isMapType, makeFunctionSequenceCoercer, relationship
explainMismatch, getAtomizedItemType, getBasicAlphaCode, getDefaultPriority, getFullAlphaCode, getNormalizedDefaultPriority, getPrimitiveItemType, getPrimitiveType, getUType, isAtomicType, isAtomizable, isPlainType, matches, toExportString
java.lang.Iterable<java.lang.String> getFieldNames()
SequenceType getFieldType(java.lang.String field)
field
- the name of the fieldboolean isOptionalField(java.lang.String field)
field
- the name of the fieldboolean isExtensible()
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.