public class AnyFunctionTypeWithAssertions extends AnyFunctionType
ItemType.WithSequenceTypeCache
ANY_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, visitNamedSchemaComponents
public AnyFunctionTypeWithAssertions(AnnotationList assertions)
public AnnotationList getAnnotationAssertions()
getAnnotationAssertions
in interface FunctionItemType
getAnnotationAssertions
in class AnyFunctionType
public boolean matches(Item item, TypeHierarchy th) throws XPathException
matches
in interface ItemType
matches
in class AnyFunctionType
item
- The item to be testedth
- XPathException
public static boolean checkAnnotationAssertions(AnnotationList assertions, Function item, Configuration config)
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.