From edc2de39292cfb5b94b3dc7563df9f71ad4f1006 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Thu, 27 May 2004 15:42:15 +0000 Subject: [PATCH] opps: missed these git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276491 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tools/ant/DynamicConfigurator.java | 23 ++------------- .../tools/ant/DynamicConfiguratorNS.java | 29 ++----------------- 2 files changed, 5 insertions(+), 47 deletions(-) diff --git a/src/main/org/apache/tools/ant/DynamicConfigurator.java b/src/main/org/apache/tools/ant/DynamicConfigurator.java index ff7ff386a..14886aaeb 100644 --- a/src/main/org/apache/tools/ant/DynamicConfigurator.java +++ b/src/main/org/apache/tools/ant/DynamicConfigurator.java @@ -22,24 +22,7 @@ package org.apache.tools.ant; * * @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 { } + diff --git a/src/main/org/apache/tools/ant/DynamicConfiguratorNS.java b/src/main/org/apache/tools/ant/DynamicConfiguratorNS.java index 55a053d73..a1ce84bf0 100644 --- a/src/main/org/apache/tools/ant/DynamicConfiguratorNS.java +++ b/src/main/org/apache/tools/ant/DynamicConfiguratorNS.java @@ -21,31 +21,6 @@ package org.apache.tools.ant; * * @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 { }