本文整理了Java中org.apache.xmlbeans.SchemaTypeLoader.compileQuery()
方法的一些代码示例,展示了SchemaTypeLoader.compileQuery()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SchemaTypeLoader.compileQuery()
方法的具体详情如下:
包路径:org.apache.xmlbeans.SchemaTypeLoader
类名称:SchemaTypeLoader
方法名:compileQuery
[英]Compiles an XQuery
[中]编译一个XQuery
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/**
* Compiles an XQuery, returning a String equal to that which was passed,
* but whose identity is that of one which has been precompiled and cached;
* takes an option for specifying text that indicates the context node.
*
* @param options Options for the query. For example, you can call
* the {@link XmlOptions#setXqueryCurrentNodeVar(String) XmlOptions.setXqueryCurrentNodeVar(String)}
* method to specify a particular name for the expression
* variable that indicates the context node and the
* {@link XmlOptions#setXqueryVariables(java.util.Map) XmlOptions.setXqueryVariables(Map)}
* method to map external variable names to values.
*/
public static String compileQuery ( String queryExpr, XmlOptions options )
throws XmlException
{
return getContextTypeLoader().compileQuery( queryExpr, options );
}
代码示例来源:origin: com.github.pjfanning/xmlbeans
/**
* Compiles an XQuery, returning a String equal to that which was passed,
* but whose identity is that of one which has been precompiled and cached;
* takes an option for specifying text that indicates the context node.
*
* @param options Options for the query. For example, you can call
* the {@link XmlOptions#setXqueryCurrentNodeVar(String) XmlOptions.setXqueryCurrentNodeVar(String)}
* method to specify a particular name for the expression
* variable that indicates the context node and the
* {@link XmlOptions#setXqueryVariables(java.util.Map) XmlOptions.setXqueryVariables(Map)}
* method to map external variable names to values.
*/
public static String compileQuery ( String queryExpr, XmlOptions options )
throws XmlException
{
return getContextTypeLoader().compileQuery( queryExpr, options );
}
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
/**
* Compiles an XQuery, returning a String equal to that which was passed,
* but whose identity is that of one which has been precompiled and cached;
* takes an option for specifying text that indicates the context node.
*
* @param options Options for the query. For example, you can call
* the {@link XmlOptions#setXqueryCurrentNodeVar(String) XmlOptions.setXqueryCurrentNodeVar(String)}
* method to specify a particular name for the expression
* variable that indicates the context node and the
* {@link XmlOptions#setXqueryVariables(java.util.Map) XmlOptions.setXqueryVariables(Map)}
* method to map external variable names to values.
*/
public static String compileQuery ( String queryExpr, XmlOptions options )
throws XmlException
{
return getContextTypeLoader().compileQuery( queryExpr, options );
}
内容来源于网络,如有侵权,请联系作者删除!