Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 19883 invoked from network); 4 Jan 2005 21:47:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jan 2005 21:47:57 -0000 Received: (qmail 90079 invoked by uid 500); 4 Jan 2005 21:47:49 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 89975 invoked by uid 500); 4 Jan 2005 21:47:48 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 89918 invoked by uid 99); 4 Jan 2005 21:47:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ns2.sccx.com (HELO ns2.sccx.com) (209.108.197.62) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 04 Jan 2005 13:47:45 -0800 Subject: protected JXPathBindingBuilderBase.CommonAttributes From: Jason Johnston To: dev@cocoon.apache.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1104874982.15613.53.camel@jjohnston.lgmt.trdo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 04 Jan 2005 14:43:02 -0700 X-OriginalArrivalTime: 04 Jan 2005 21:47:42.0563 (UTC) FILETIME=[04B4BB30:01C4F2A7] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi folks-- I'm trying to create a custom binding by extending JXPathBindingBase and JXPathBindingBuilderBase for the binding and binding builder respectively. My classes, of course, live in a different package than o.a.c.forms.binding. My builder class is able to access the protected inner class JXPathBindingBuilderBase.CommonAttributes just fine, because it is a direct subclass of JXPathBindingBuilderBase. But the binding class fails because it also needs access to CommonAttributes (see the JXPathBindingBase constructor), but neither extends nor resides in the same package as JXPathBindingBuilderBase so CommonAttributes is not visible. Anyone know of a reason why CommonAttributes is protected rather than public? Any objections to making it public? Thanks in advance --Jason