You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2013/08/16 19:29:03 UTC

svn commit: r1514806 - /xerces/java/trunk/src/org/apache/xerces/impl/XMLDTDScannerImpl.java

Author: mrglavas
Date: Fri Aug 16 17:29:02 2013
New Revision: 1514806

URL: http://svn.apache.org/r1514806
Log:
Javadoc improvements for the startPE() and scanEntityValue() methods.

Modified:
    xerces/java/trunk/src/org/apache/xerces/impl/XMLDTDScannerImpl.java

Modified: xerces/java/trunk/src/org/apache/xerces/impl/XMLDTDScannerImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/XMLDTDScannerImpl.java?rev=1514806&r1=1514805&r2=1514806&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/XMLDTDScannerImpl.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/XMLDTDScannerImpl.java Fri Aug 16 17:29:02 2013
@@ -630,6 +630,8 @@ public class XMLDTDScannerImpl
      *
      * @param name The name of the parameter entity to start (without the '%')
      * @param literal Whether this is happening within a literal
+     * 
+     * @return The name of the parameter entity (with the '%')
      */
     protected String startPE(String name, boolean literal) 
         throws IOException, XNIException {
@@ -1569,15 +1571,17 @@ public class XMLDTDScannerImpl
     } // scanEntityDecl()
 
     /**
-     * Scans an entity value.
+     * <p>Scans an entity value.</p>
+     * 
+     * <p><strong>Note:</strong> This method uses fString, fStringBuffer (through
+     * the use of scanCharReferenceValue), and fStringBuffer2, anything in them
+     * at the time of calling is lost.</p>
      *
      * @param value The string to fill in with the value.
      * @param nonNormalizedValue The string to fill in with the 
      *                           non-normalized value.
-     *
-     * <strong>Note:</strong> This method uses fString, fStringBuffer (through
-     * the use of scanCharReferenceValue), and fStringBuffer2, anything in them
-     * at the time of calling is lost.
+     *                           
+     * @return Count of direct and indirect references to parameter entities in the value of the entity.              
      */
     protected final int scanEntityValue(XMLString value, 
                                         XMLString nonNormalizedValue)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org