- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.getFunctionDefinitions()
方法的一些代码示例,展示了XQueryFunctionLibrary.getFunctionDefinitions()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XQueryFunctionLibrary.getFunctionDefinitions()
方法的具体详情如下:
包路径:net.sf.saxon.query.XQueryFunctionLibrary
类名称:XQueryFunctionLibrary
方法名:getFunctionDefinitions
[英]Get an iterator over the Functions defined in this module
[中]获取此模块中定义的函数的迭代器
代码示例来源:origin: dsukhoroslov/bagri
private <R> List<R> lookupFunctions(FunctionLibraryList fll, FunctionExtractor<R> ext) {
List<R> fl = new ArrayList<>();
for (FunctionLibrary lib: fll.getLibraryList()) {
logger.trace("lookupFunctions; function library: {}; class: {}", lib.toString(), lib.getClass().getName());
if (lib instanceof FunctionLibraryList) {
fl.addAll(lookupFunctions((FunctionLibraryList) lib, ext));
//} else if (lib instanceof ExecutableFunctionLibrary) {
// ExecutableFunctionLibrary efl = (ExecutableFunctionLibrary) lib;
// Iterator<UserFunction> itr = efl.iterateFunctions();
// while (itr.hasNext()) {
// fl.add(getFunctionDeclaration(itr.next()));
// }
} else if (lib instanceof XQueryFunctionLibrary) {
XQueryFunctionLibrary xqfl = (XQueryFunctionLibrary) lib;
Iterator<XQueryFunction> itr = xqfl.getFunctionDefinitions();
while (itr.hasNext()) {
XQueryFunction fn = itr.next();
logger.trace("lookupFunctions; fn: {}", fn.getDisplayName());
R result = ext.extractFunction(fn.getUserFunction());
if (result != null) {
fl.add(result);
}
}
}
}
return fl;
}
代码示例来源:origin: org.opengis.cite.saxon/saxon9
private void loadLibraryModule() throws XPathException {
if (href==null && moduleURI==null) {
// error already reported
return;
}
try {
XSLStylesheet top = getPrincipalStylesheet();
QueryModule importedModule = loadModule();
// Do the importing
Iterator it = importedModule.getGlobalFunctionLibrary().getFunctionDefinitions();
while (it.hasNext()) {
XQueryFunction def = (XQueryFunction)it.next();
// don't import functions transitively
if (def.getFunctionName().getNamespaceURI().equals(moduleURI)) {
top.declareXQueryFunction(def);
}
// Note, we are not importing global variables at present
}
} catch (XPathException err) {
compileError(err);
}
}
代码示例来源:origin: net.sourceforge.saxon/saxon
private void loadLibraryModule() throws XPathException {
if (href==null && moduleURI==null) {
// error already reported
return;
}
try {
XSLStylesheet top = getPrincipalStylesheet();
QueryModule importedModule = loadModule();
// Do the importing
Iterator it = importedModule.getGlobalFunctionLibrary().getFunctionDefinitions();
while (it.hasNext()) {
XQueryFunction def = (XQueryFunction)it.next();
// don't import functions transitively
if (def.getFunctionName().getNamespaceURI().equals(moduleURI)) {
top.declareXQueryFunction(def);
}
// Note, we are not importing global variables at present
}
} catch (XPathException err) {
compileError(err);
}
}
代码示例来源:origin: net.sf.saxon/Saxon-HE
Iterator<XQueryFunction> fiter = getLocalFunctionLibrary().getFunctionDefinitions();
while (fiter.hasNext()) {
XQueryFunction gf = fiter.next();
代码示例来源:origin: org.opengis.cite.saxon/saxon9
Iterator fiter = getLocalFunctionLibrary().getFunctionDefinitions();
while (fiter.hasNext()) {
XQueryFunction gf = (XQueryFunction)fiter.next();
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon
Iterator<XQueryFunction> fiter = getLocalFunctionLibrary().getFunctionDefinitions();
while (fiter.hasNext()) {
XQueryFunction gf = fiter.next();
代码示例来源:origin: net.sourceforge.saxon/saxon
Iterator fiter = getLocalFunctionLibrary().getFunctionDefinitions();
while (fiter.hasNext()) {
XQueryFunction gf = (XQueryFunction)fiter.next();
代码示例来源:origin: msokolov/lux
private FunctionDefinition[] getFunctionDefinitions() {
ArrayList<FunctionDefinition> functionDefinitions = new ArrayList<FunctionDefinition>();
Iterator<XQueryFunction> functions = queryModule.getLocalFunctionLibrary().getFunctionDefinitions();
while (functions.hasNext()) {
XQueryFunction function = functions.next();
UserFunctionParameter[] params = function.getParameterDefinitions();
Variable[] args = new Variable[params.length];
for (int i = 0; i < params.length; i++) {
QName argname = qnameFor (params[i].getVariableQName());
addNamespaceDeclaration(argname);
args[i] = new Variable (argname, getTypeDescription(params[i].getRequiredType()));
}
QName fname = qnameFor(function.getFunctionName());
addNamespaceDeclaration(fname);
SequenceType resultType = function.getResultType();
ItemType returnType = resultType.getPrimaryType();
QName returnTypeName = null;
if (returnType instanceof NameTest) {
returnTypeName = qnameForNameCode (((NameTest) returnType).getFingerprint());
}
FunctionDefinition fdef = new FunctionDefinition(fname,
valueTypeForItemType(resultType.getPrimaryType()),
cardinalityOf(resultType), returnTypeName,
args, exprFor (function.getBody()));
functionDefinitions.add (fdef);
}
return functionDefinitions.toArray(new FunctionDefinition[0]);
}
代码示例来源:origin: net.sourceforge.saxon/saxon
Iterator qf = queryFunctions.getFunctionDefinitions();
while (qf.hasNext()) {
XQueryFunction f = (XQueryFunction) qf.next();
代码示例来源:origin: net.sf.saxon/Saxon-B
Iterator qf = queryFunctions.getFunctionDefinitions();
while (qf.hasNext()) {
XQueryFunction f = (XQueryFunction) qf.next();
代码示例来源:origin: org.opengis.cite.saxon/saxon9
Iterator qf = queryFunctions.getFunctionDefinitions();
while (qf.hasNext()) {
XQueryFunction f = (XQueryFunction) qf.next();
代码示例来源:origin: com.helger/ph-schematron
for (final XQueryFunction aXQueryFunction : new IterableIterator <> (aRealFuncLib.getFunctionDefinitions ()))
代码示例来源:origin: phax/ph-schematron
for (final XQueryFunction aXQueryFunction : new IterableIterator <> (aRealFuncLib.getFunctionDefinitions ()))
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon
Iterator qf = queryFunctions.getFunctionDefinitions();
while (qf.hasNext()) {
XQueryFunction f = (XQueryFunction) qf.next();
代码示例来源:origin: net.sf.saxon/Saxon-HE
Iterator qf = queryFunctions.getFunctionDefinitions();
while (qf.hasNext()) {
XQueryFunction f = (XQueryFunction) qf.next();
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.getUserDefinedFunction()方法的一些代码示例,展示了XQueryFuncti
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.fixupGlobalFunctions()方法的一些代码示例,展示了XQueryFunction
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.bind()方法的一些代码示例,展示了XQueryFunctionLibrary.bind()的具
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.getDeclaration()方法的一些代码示例,展示了XQueryFunctionLibrar
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.getDeclarationByKey()方法的一些代码示例,展示了XQueryFunctionL
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.explainGlobalFunctions()方法的一些代码示例,展示了XQueryFuncti
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.optimizeGlobalFunctions()方法的一些代码示例,展示了XQueryFunct
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.getFunctionDefinitions()方法的一些代码示例,展示了XQueryFuncti
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.isAvailable()方法的一些代码示例,展示了XQueryFunctionLibrary.i
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.declareFunction()方法的一些代码示例,展示了XQueryFunctionLibra
本文整理了Java中net.sf.saxon.query.XQueryFunctionLibrary.()方法的一些代码示例,展示了XQueryFunctionLibrary.()的具体用法。这些代码
我是一名优秀的程序员,十分优秀!