public class AnyFunctionTypeWithAssertions extends AnyFunctionType
ItemType.WithSequenceTypeCache
ANY_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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenre
explainMismatch, isTrueItemType, toExportString
public AnyFunctionTypeWithAssertions(AnnotationList assertions)
assertions
- the annotation assertionspublic 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
- the type hierarchy cacheXPathException
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.