You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2004/05/27 17:42:15 UTC
cvs commit: ant/src/main/org/apache/tools/ant DynamicConfigurator.java DynamicConfiguratorNS.java
peterreilly 2004/05/27 08:42:15
Modified: src/main/org/apache/tools/ant DynamicConfigurator.java
DynamicConfiguratorNS.java
Log:
opps: missed these
Revision Changes Path
1.12 +3 -20 ant/src/main/org/apache/tools/ant/DynamicConfigurator.java
Index: DynamicConfigurator.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/DynamicConfigurator.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- DynamicConfigurator.java 9 Mar 2004 16:47:59 -0000 1.11
+++ DynamicConfigurator.java 27 May 2004 15:42:15 -0000 1.12
@@ -22,24 +22,7 @@
*
* @since Ant 1.5
*/
-public interface DynamicConfigurator {
-
- /**
- * Set a named attribute to the given value
- *
- * @param name the name of the attribute
- * @param value the new value of the attribute
- * @throws BuildException when any error occurs
- */
- void setDynamicAttribute(String name, String value)
- throws BuildException;
-
- /**
- * Create an element with the given name
- *
- * @param name the element nbame
- * @throws BuildException when any error occurs
- * @return the element created
- */
- Object createDynamicElement(String name) throws BuildException;
+public interface DynamicConfigurator
+ extends DynamicAttribute, DynamicElement {
}
+
1.2 +2 -27 ant/src/main/org/apache/tools/ant/DynamicConfiguratorNS.java
Index: DynamicConfiguratorNS.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/DynamicConfiguratorNS.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DynamicConfiguratorNS.java 25 May 2004 07:48:17 -0000 1.1
+++ DynamicConfiguratorNS.java 27 May 2004 15:42:15 -0000 1.2
@@ -21,31 +21,6 @@
*
* @since Ant 1.7
*/
-public interface DynamicConfiguratorNS {
-
- /**
- * Set a named attribute to the given value
- *
- * @param uri The namespace uri for this attribute, "" is
- * used if there is no namespace uri.
- * @param localName The localname of this attribute.
- * @param qName The qualified name for this attribute
- * @param value The value of this attribute.
- * @throws BuildException when any error occurs
- */
- void setDynamicAttribute(
- String uri, String localName, String qName, String value)
- throws BuildException;
-
- /**
- * Create an element with the given name
- *
- * @param uri The namespace uri for this attribute.
- * @param localName The localname of this attribute.
- * @param qName The qualified name for this element.
- * @throws BuildException when any error occurs
- * @return the element created for this element.
- */
- Object createDynamicElement(
- String uri, String localName, String qName) throws BuildException;
+public interface DynamicConfiguratorNS
+ extends DynamicAttributeNS, DynamicElementNS {
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org