本文整理汇总了Java中org.jaxen.function.ext.EndsWithFunction类的典型用法代码示例。如果您正苦于以下问题:Java EndsWithFunction类的具体用法?Java EndsWithFunction怎么用?Java EndsWithFunction使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EndsWithFunction类属于org.jaxen.function.ext包,在下文中一共展示了EndsWithFunction类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: registerExtensionFunctions
点赞 3
import org.jaxen.function.ext.EndsWithFunction; //导入依赖的package包/类
private void registerExtensionFunctions() {
// extension functions should go into a namespace, but which one?
// for now, keep them in default namespace to not break any code
registerFunction( null, // namespace URI
"evaluate",
new EvaluateFunction() );
registerFunction( null, // namespace URI
"lower-case",
new LowerFunction() );
registerFunction( null, // namespace URI
"upper-case",
new UpperFunction() );
registerFunction( null, // namespace URI
"ends-with",
new EndsWithFunction() );
}
开发者ID:jaxen-xpath,
项目名称:jaxen,
代码行数:21,
代码来源:XPathFunctionContext.java
示例2: getImplementation
点赞 2
import org.jaxen.function.ext.EndsWithFunction; //导入依赖的package包/类
public org.jaxen.Function getImplementation() {
return new EndsWithFunction();
}
开发者ID:jskierbi,
项目名称:intellij-ce-playground,
代码行数:4,
代码来源:XPathFunctionProviderImpl.java