Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 38669 invoked from network); 21 Feb 2003 16:28:13 -0000 Received: from mailgate2.cadence.com (158.140.2.31) by daedalus.apache.org with SMTP; 21 Feb 2003 16:28:13 -0000 Received: from exmbx01chel.global.cadence.com (exmbx01chel.Cadence.COM [158.140.105.230]) by mailgate2.Cadence.COM (8.9.3/8.9.3) with ESMTP id IAA26742 for ; Fri, 21 Feb 2003 08:28:15 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2D9C6.3B91554C" Subject: Trigger method call on an end Tag Date: Fri, 21 Feb 2003 11:28:14 -0500 Message-ID: <0D3972F302D58440BD35BF14DC48AF56C012BF@exmbx01chel.cadence.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Trigger method call on an end Tag Thread-Index: AcLZxjf8/mTi8i/2Qvmc6HwXOjYxGg== From: "Raymond Lukas" To: X-Received: By mailgate2.Cadence.COM as IAA26742 at Fri Feb 21 08:28:15 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2D9C6.3B91554C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Please if someone could give me a hand. How do I trigger a method call when I hit the .. In the small example below I am looking to nest List elements in a document generation system. If I could just detect and trigger a method call on the I would be all set. I read the manual but it did not help me out enough. An example on the other hand would be GREAT!! This is an important project and I really need someone to take a few minutes and post an example or a pointer to an example...=20 =20 =20 =20 I need to handle nesting element inside of my XML file.. Something like this: =20 =20 =20 =20 =20 =20 =20 =20 =20 Inside of my Digest setup I have something like this. Well exactly like this. Everything is call fine, I just need to know when I am at the end of each List Element..=20 =20 Class listClass =3D ListElement.class; digester.addObjectCreate("*/List", listClass); digester.addSetProperties("*/List");=20 //digester.addCallMethod("Section/HeaderLevel1/List/Entry", "addInnerListEntry"); =20 =20 // -------------------------------------- Class entryClass =3D Entry.class; digester.addObjectCreate("*/List/Entry", entryClass); digester.addSetProperties("*/List/Entry");=20 digester.addSetNext("*/List/Entry", "addEntry"); =20 ------_=_NextPart_001_01C2D9C6.3B91554C--