public class AnyFunctionTypeWithAssertions extends AnyFunctionType
ItemType.WithSequenceTypeCacheANY_FUNCTION| Constructor and Description |
|---|
AnyFunctionTypeWithAssertions(AnnotationList assertions) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkAnnotationAssertions(AnnotationList assertions,
Function item,
Configuration config) |
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, getArgumentTypes, getAtomizedItemType, getInstance, getPrimitiveItemType, getPrimitiveType, getResultType, getUType, isArrayType, isAtomicType, isAtomizable, isMapType, isPlainType, makeFunctionSequenceCoercer, relationship, toExportString, toString, visitNamedSchemaComponentspublic AnyFunctionTypeWithAssertions(AnnotationList assertions)
public 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 - XPathExceptionpublic static boolean checkAnnotationAssertions(AnnotationList assertions, Function item, Configuration config)
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.