commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <>
Subject [jira] Commented: (JXPATH-81) Allow paramaterized accessors
Date Thu, 03 May 2007 14:11:15 GMT


Matt Benson commented on JXPATH-81:

I am far from an XPath XPert; however I must say I have never noticed any example syntax that
would imply this capability.  Remember that JXPath is primarily an XPath implementation, albeit
one that happens to know how to process Java object hierarchies as if they were XML documents.
 If it's not in the syntax specification it would seem to be a candidate for a custom extension

> Allow paramaterized accessors
> -----------------------------
>                 Key: JXPATH-81
>                 URL:
>             Project: Commons JXPath
>          Issue Type: Improvement
>            Reporter: Rob van Dort
>            Priority: Minor
> As I could make up until now, only attribute accessors without parameters are allowed,
e.g. "public Address getAddress()".
> Attribute accessors with an underlying map can be used, e.g. "public Map getAddress()"
(see Map Element Access in JXPath User Guide)
> In some cases it may be useful to use accessors with parameters, e.g. public Address
getAddress(String addressType), this is a feature I would like to see added to JXPath.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message