public interface FunctionItemType extends ItemType
Modifier and Type | Method and Description |
---|---|
SequenceType[] |
getArgumentTypes()
Get the argument types of the function
|
SequenceType |
getResultType()
Get the result type of the function
|
boolean |
isMapType()
Ask whether this function item type is a map type.
|
Expression |
makeFunctionSequenceCoercer(Expression exp,
RoleLocator role,
TypeCheckerEnvironment visitor)
Create an expression whose effect is to apply function coercion to coerce a function to this function type
|
int |
relationship(FunctionItemType other,
TypeHierarchy th)
Determine the relationship of one function item type to another
|
getAtomizedItemType, getPrimitiveItemType, getPrimitiveType, getSuperType, isAtomicType, isAtomizable, isPlainType, matches, matchesItem, visitNamedSchemaComponents
SequenceType[] getArgumentTypes()
SequenceType getResultType()
int relationship(FunctionItemType other, TypeHierarchy th)
TypeHierarchy.SUBSUMES
, TypeHierarchy.SAME_TYPE
Expression makeFunctionSequenceCoercer(Expression exp, RoleLocator role, TypeCheckerEnvironment visitor) throws XPathException
exp
- the expression that delivers the supplied sequence of function items (the ones in need of coercion)role
- information for use in diagnosticsvisitor
- the expression visitor, supplies context informationXPathException
boolean isMapType()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.