svn commit: r566457 - /xml/xindice/trunk/java/src/org/apache/xindice/client/xmldb/resources/XMLResourceImpl.java

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
Author: vgritsenko
Date: Wed Aug 15 18:04:02 2007
New Revision: 566457

URL: http://svn.apache.org/viewvc?view=rev&rev=566457
Log:
javadoc

Modified:
    xml/xindice/trunk/java/src/org/apache/xindice/client/xmldb/resources/XMLResourceImpl.java

Modified: xml/xindice/trunk/java/src/org/apache/xindice/client/xmldb/resources/XMLResourceImpl.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/client/xmldb/resources/XMLResourceImpl.java?view=diff&rev=566457&r1=566456&r2=566457
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/client/xmldb/resources/XMLResourceImpl.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/client/xmldb/resources/XMLResourceImpl.java Wed Aug 15 18:04:02 2007
@@ -152,8 +152,10 @@
      * Wire Compression
      *
      * @param id The unique id associated with this resource
-     * @param collection the parent collection for the resource
-     * @param bytes the content to associate with the resource
+     * @param documentId The document identifier this resource belongs to
+     * @param collection The parent collection for the resource
+     * @param syms The collection's symbol table
+     * @param bytes The content to associate with the resource
      */
     public XMLResourceImpl(String id, String documentId,
                            org.xmldb.api.base.Collection collection, SymbolTable syms, byte[] bytes) {
@@ -165,6 +167,20 @@
     }
 
     /**
+     * Constructor for the XMLResourceImpl object used in conjunction with
+     * Wire Compression
+     *
+     * @param id The unique id associated with this resource
+     * @param collection the parent collection for the resource
+     * @param syms The collection's symbol table
+     * @param bytes the content to associate with the resource
+     */
+    public XMLResourceImpl(String id, org.xmldb.api.base.Collection collection,
+                           SymbolTable syms, byte[] bytes) {
+        this(id, id, collection, syms, bytes);
+    }
+
+    /**
      * Allows SAX feature to be set for the SAX that is generated by
      * getContentAsSAX.
      *
@@ -192,6 +208,7 @@
      *    reporting features described in the specification
      * @return whether the feature is on or off
      * @see <a href="http://sax.sourceforge.net/?selected=namespaces">sax.sourceforge.net/?selected=namespaces</a>
+     * @noinspection SimplifiableIfStatement
      */
     public boolean getSAXFeature(String feature) {
 
@@ -208,19 +225,6 @@
     }
 
     /**
-     * Constructor for the XMLResourceImpl object used in conjunction with
-     * Wire Compression
-     *
-     * @param id The unique id associated with this resource
-     * @param collection the parent collection for the resource
-     * @param bytes the content to associate with the resource
-     */
-    public XMLResourceImpl(String id, org.xmldb.api.base.Collection collection,
-                           SymbolTable syms, byte[] bytes) {
-        this(id, id, collection, syms, bytes);
-    }
-
-    /**
      * Returns the unique id for the parent document to this <code>Resource</code>
      * or null if the <code>Resource</code> does not have a parent document.
      *
@@ -386,4 +390,3 @@
         this.id = name;
     }
 }
-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.