public class AnyFunctionTypeWithAssertions extends AnyFunctionType
ItemType.WithSequenceTypeCacheANY_FUNCTION| Constructor and Description |
|---|
AnyFunctionTypeWithAssertions(AnnotationList assertions)
Construct an item type representing the item type function(*) with a list of annotation assertions
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
getAnnotationAssertions()
Get the list of annotation assertions defined on this function item type.
|
boolean |
matches(Item item,
TypeHierarchy th)
Test whether a given item conforms to this type
|
generateJavaScriptItemTypeAcceptor, generateJavaScriptItemTypeTest, getAlphaCode, getArgumentTypes, getAtomizedItemType, getInstance, getPrimitiveItemType, getPrimitiveType, getResultType, getUType, isArrayType, isAtomicType, isAtomizable, isMapType, isPlainType, makeFunctionSequenceCoercer, relationship, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenreexplainMismatch, isTrueItemType, toExportStringpublic AnyFunctionTypeWithAssertions(AnnotationList assertions)
assertions - the annotation assertionspublic AnnotationList getAnnotationAssertions()
getAnnotationAssertions in interface FunctionItemTypegetAnnotationAssertions in class AnyFunctionTypepublic boolean matches(Item item, TypeHierarchy th) throws XPathException
matches in interface ItemTypematches in class AnyFunctionTypeitem - The item to be testedth - the type hierarchy cacheXPathExceptionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.