Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 11361 invoked from network); 3 May 2007 14:11:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 May 2007 14:11:39 -0000 Received: (qmail 12414 invoked by uid 500); 3 May 2007 14:11:43 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 12351 invoked by uid 500); 3 May 2007 14:11:42 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 12339 invoked by uid 99); 3 May 2007 14:11:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 07:11:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 07:11:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D76E714074 for ; Thu, 3 May 2007 07:11:15 -0700 (PDT) Message-ID: <7750432.1178201475445.JavaMail.jira@brutus> Date: Thu, 3 May 2007 07:11:15 -0700 (PDT) From: "Matt Benson (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (JXPATH-81) Allow paramaterized accessors In-Reply-To: <1175812.1178191576472.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org