commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1128661 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/NodeCreateRule.java
Date Sat, 28 May 2011 15:11:46 GMT
Author: simonetripodi
Date: Sat May 28 15:11:46 2011
New Revision: 1128661

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

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/NodeCreateRule.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/NodeCreateRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/NodeCreateRule.java?rev=1128661&r1=1128660&r2=1128661&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/NodeCreateRule.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/NodeCreateRule.java
Sat May 28 15:11:46 2011
@@ -299,6 +299,10 @@ public class NodeCreateRule
 
     /**
      * Default constructor. Creates an instance of this rule that will create a DOM {@link
org.w3c.dom.Element Element}.
+     *
+     * @throws ParserConfigurationException if a DocumentBuilder cannot be created which
satisfies the
+     *         configuration requested.
+     * @see DocumentBuilderFactory#newDocumentBuilder()
      */
     public NodeCreateRule()
         throws ParserConfigurationException
@@ -324,7 +328,9 @@ public class NodeCreateRule
      * 
      * @param nodeType the type of node to create, which can be either {@link org.w3c.dom.Node#ELEMENT_NODE
      *            Node.ELEMENT_NODE} or {@link org.w3c.dom.Node#DOCUMENT_FRAGMENT_NODE Node.DOCUMENT_FRAGMENT_NODE}
-     * @throws IllegalArgumentException if the node type is not supported
+     * @throws ParserConfigurationException if a DocumentBuilder cannot be created which
satisfies the
+     *         configuration requested.
+     * @see DocumentBuilderFactory#newDocumentBuilder()
      */
     public NodeCreateRule( int nodeType )
         throws ParserConfigurationException
@@ -341,7 +347,6 @@ public class NodeCreateRule
      * @param nodeType the type of node to create, which can be either {@link org.w3c.dom.Node#ELEMENT_NODE
      *            Node.ELEMENT_NODE} or {@link org.w3c.dom.Node#DOCUMENT_FRAGMENT_NODE Node.DOCUMENT_FRAGMENT_NODE}
      * @param documentBuilder the JAXP <code>DocumentBuilder</code> to use
-     * @throws IllegalArgumentException if the node type is not supported
      */
     public NodeCreateRule( int nodeType, DocumentBuilder documentBuilder )
     {
@@ -420,7 +425,7 @@ public class NodeCreateRule
     }
 
     /**
-     * Pop the Node off the top of the stack.
+     * {@inheritDoc}
      */
     @Override
     public void end( String namespace, String name )



Mime
View raw message