一些启发规格严格

一些启发规格严格,第1张

Here would be a couple of workaround solutions that you could choose from, if you don't find an actual Java expression evaluation library:

  • Evaluate your expressions using XPath.
    • Pros: XPath knows logical operators, and you can implement variables and custom functions using Xalan's extensions
    • Cons: XPath has fewer types than Java
  • Evaluate your expressions using JavaScript.
    • Pros: Javascript is very flexible and will still be suitable when your requirements tighten. You can implement variables and custom functions using Javascript as well
    • Cons: Javascript has fewer types than Java
  • Evaluate your expressions using JSP's expression language (e.g. with JUEL)

欢迎分享,转载请注明来源:内存溢出

原文地址: https://www.outofmemory.cn/zaji/2086259.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-07-22
下一篇 2022-07-22

发表评论

登录后才能评论

评论列表(0条)

保存