[ https://issues.apache.org/jira/browse/JXPATH-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493376 ]
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 function. > Allow paramaterized accessors > ----------------------------- > > Key: JXPATH-81 > URL: https://issues.apache.org/jira/browse/JXPATH-81 > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]