java binding standardfunc and querymodule

Monday, 26 September 2016 · 2 messages · last reply 27 Sep 2016
KS
Kendall Shaw26 Sep 2016 22:21 #
The documentation describes extending QueryModule for writing a module in java. I want to write functions that are passed items. If I look at the concat function it uses Expr.atomItem passing QueryContext and InputInfo. Is there a way to get at InputInfo from a class that extends QueryModule? Or, another way to write functions that transform items? Kendall
KS
Kendall Shaw27 Sep 2016 01:26 #
To answer my own question, maybe, see: ModuleDemo.java in the examples. With that I can operate on an ANode or a Value, at least. For now, that is all that I need. I will have to look into what method signatures are recognized. Kendall
Quoted text · Kendall Shaw · 8 lines
From: <basex-talk-bounces at mailman.uni-konstanz.de> on behalf of Kendall Shaw <kendall.shaw at workday.com> Date: Monday, September 26, 2016 at 1:21 PM To: "basex-talk at mailman.uni-konstanz.de" <basex-talk at mailman.uni-konstanz.de> Subject: [basex-talk] java binding standardfunc and querymodule The documentation describes extending QueryModule for writing a module in java. I want to write functions that are passed items. If I look at the concat function it uses Expr.atomItem passing QueryContext and InputInfo. Is there a way to get at InputInfo from a class that extends QueryModule? Or, another way to write functions that transform items? Kendall

⚡Generated with XQuery