Browse Source

opps: missed these

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276491 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 21 years ago
parent
commit
edc2de3929
2 changed files with 5 additions and 47 deletions
  1. +3
    -20
      src/main/org/apache/tools/ant/DynamicConfigurator.java
  2. +2
    -27
      src/main/org/apache/tools/ant/DynamicConfiguratorNS.java

+ 3
- 20
src/main/org/apache/tools/ant/DynamicConfigurator.java View File

@@ -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 {
}


+ 2
- 27
src/main/org/apache/tools/ant/DynamicConfiguratorNS.java View File

@@ -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 {
}

Loading…
Cancel
Save