本文整理了Java中org.apache.xmlbeans.SchemaTypeLoader.compilePath()
方法的一些代码示例,展示了SchemaTypeLoader.compilePath()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SchemaTypeLoader.compilePath()
方法的具体详情如下:
包路径:org.apache.xmlbeans.SchemaTypeLoader
类名称:SchemaTypeLoader
方法名:compilePath
[英]Compiles an XPath
[中]编译XPath
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/**
* Compiles an XPath, 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 name of context node.
* The default is "this", as in "$this".
*
* @param options Options for the path. 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.
*/
public static String compilePath ( String pathExpr, XmlOptions options )
throws XmlException
{
return getContextTypeLoader().compilePath( pathExpr, options );
}
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
/**
* Compiles an XPath, 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 name of context node.
* The default is "this", as in "$this".
*
* @param options Options for the path. 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.
*/
public static String compilePath ( String pathExpr, XmlOptions options )
throws XmlException
{
return getContextTypeLoader().compilePath( pathExpr, options );
}
代码示例来源:origin: com.github.pjfanning/xmlbeans
/**
* Compiles an XPath, 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 name of context node.
* The default is "this", as in "$this".
*
* @param options Options for the path. 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.
*/
public static String compilePath ( String pathExpr, XmlOptions options )
throws XmlException
{
return getContextTypeLoader().compilePath( pathExpr, options );
}
内容来源于网络,如有侵权,请联系作者删除!