Package com.saxonica.ee.extfn
Class XsdValidatorEE
java.lang.Object
net.sf.saxon.functions.AbstractFunction
net.sf.saxon.functions.SystemFunction
com.saxonica.functions.qt4.XsdValidator
com.saxonica.ee.extfn.XsdValidatorEE
- All Implemented Interfaces:
Callable,IFunctionWithRetainedParameterNames,FunctionItem,GroundedValue,Item,Sequence
XsdValidatorEE provides the true implementation of the 4.0 fn:xsd-validator
function. The "front end" of the function is in
XsdValidator,
which has a dummy implementation for use in HE/PE where no XSD schema support is available.-
Field Summary
Fields inherited from class com.saxonica.functions.qt4.XsdValidator
RETURN_TYPE, validateResult, validateReturnType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(XPathContext context, Sequence[] arguments) Evaluate this function callMethods inherited from class com.saxonica.functions.qt4.XsdValidator
makeOptionsParameterMethods inherited from class net.sf.saxon.functions.SystemFunction
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getContextNode, getDescription, getDetails, getElaborator, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getNetCost, getOperandRoles, getParameterNames, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, getUniqueIdentifier, getUniStringArg, hashCode, importAttributes, isSequenceVariadic, isTrustedResultType, makeCall, makeFunction, makeFunction40, makeFunctionCall, makeOptimizedFunctionCall, makeTrueFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCallerMethods inherited from class net.sf.saxon.functions.AbstractFunction
atomize, deepEqual40, deepEquals, effectiveBooleanValue, getAnnotations, getUnicodeStringValue, isArray, isMap, makeNewContext, simplify, typeCheckMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.sf.saxon.om.FunctionItem
getGenreMethods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, materializeMethods inherited from interface net.sf.saxon.om.Item
getLabel, getLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequenceMethods inherited from interface net.sf.saxon.om.Sequence
makeRepeatable
-
Constructor Details
-
XsdValidatorEE
public XsdValidatorEE()
-
-
Method Details
-
call
Evaluate this function call- Specified by:
callin interfaceCallable- Overrides:
callin classXsdValidator- Parameters:
context- The XPath dynamic evaluation contextarguments- The values of the arguments to the function call. Each argument value (which is in general a sequence) is supplied in the form of an iterator over the items in the sequence. If required, the supplied sequence can be materialized by calling, for example,new SequenceExtent(arguments[i]). If the argument is always a singleton, then the single item may be obtained by callingarguments[i].next(). The implementation is not obliged to read all the items in eachSequenceIteratorif they are not required to compute the result; but if any SequenceIterator is not read to completion, it is good practice to call its close() method.- Returns:
- the results of the function.
- Throws:
XPathException- if a dynamic error occurs during evaluation of the function. The Saxon run-time code will add information about the error location.
-