Return-Path: Delivered-To: apmail-xmlgraphics-fop-commits-archive@www.apache.org Received: (qmail 85788 invoked from network); 13 May 2008 08:21:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 May 2008 08:21:18 -0000 Received: (qmail 93576 invoked by uid 500); 13 May 2008 08:21:20 -0000 Delivered-To: apmail-xmlgraphics-fop-commits-archive@xmlgraphics.apache.org Received: (qmail 93489 invoked by uid 500); 13 May 2008 08:21:20 -0000 Mailing-List: contact fop-commits-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: fop-dev@xmlgraphics.apache.org Delivered-To: mailing list fop-commits@xmlgraphics.apache.org Received: (qmail 93474 invoked by uid 99); 13 May 2008 08:21:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 01:21:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 08:20:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C294823889C0; Tue, 13 May 2008 01:20:57 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r655775 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOEventHandler.java Date: Tue, 13 May 2008 08:20:57 -0000 To: fop-commits@xmlgraphics.apache.org From: adelmelle@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080513082057.C294823889C0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: adelmelle Date: Tue May 13 01:20:57 2008 New Revision: 655775 URL: http://svn.apache.org/viewvc?rev=655775&view=rev Log: Javadoc fixups Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOEventHandler.java Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOEventHandler.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOEventHandler.java?rev=655775&r1=655774&r2=655775&view=diff ============================================================================== --- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOEventHandler.java (original) +++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOEventHandler.java Tue May 13 01:20:57 2008 @@ -79,7 +79,11 @@ * This is used so we know if the FO tree contains duplicates. */ private Set idReferences = new HashSet(); - + /** + * Keeps track of the last automatically generated id in the current document + */ + private long lastGeneratedId = 1; + /** * The property list maker. */ @@ -96,11 +100,6 @@ private boolean inMarker = false; /** - * Keeps track of automatically generated ids in the current document - */ - private long lastGeneratedId = 1; - - /** * Main constructor * @param foUserAgent the apps.FOUserAgent instance for this process */ @@ -136,13 +135,17 @@ /** * Return the propertyListMaker. - */ + * + * @return the currently active {@link PropertyListMaker} + */ public PropertyListMaker getPropertyListMaker() { return propertyListMaker; } /** * Set a new propertyListMaker. + * + * @param propertyListMaker the new {@link PropertyListMaker} to use */ public void setPropertyListMaker(PropertyListMaker propertyListMaker) { this.propertyListMaker = propertyListMaker; @@ -160,6 +163,9 @@ * Switch to or from marker context * (used by FOTreeBuilder when processing * a marker) + * + * @param inMarker true if a marker is being processed; + * false otherwise * */ protected void switchMarkerContext(boolean inMarker) { @@ -168,6 +174,8 @@ /** * Check whether in marker context + * + * @return true if a marker is being processed */ protected boolean inMarker() { return this.inMarker; @@ -175,6 +183,8 @@ /** * Return the next value for automatically generated ids + * + * @return the next value to append to automatically generated ids */ public long getNextId() { return this.lastGeneratedId++; --------------------------------------------------------------------- To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org