ExtraAttribute (Apache Ant API)
Keywords: org.apache.tools.ant.taskdefs.optional.extension.ExtraAttribute,ExtraAttribute class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant.taskdefs.optional.extension
Class ExtraAttribute

    java.lang.Object
      |
      +--org.apache.tools.ant.taskdefs.optional.extension.ExtraAttribute

public class ExtraAttribute
extends java.lang.Object

Simple holder for extra attributes in main section of manifest.

Version:
  $Revision: 1.3.2.4 $ $Date: 2004/03/09 17:01:45 $
To do:
  Refactor this and all the other parameter, sysproperty, property etc into a single class in framework

Constructor Summary
`ExtraAttribute()`

Method Summary
`void` | `setName(java.lang.String name)` Set the name of the parameter.
`void` | `setValue(java.lang.String value)` Set the value of the parameter.
`void` | `validate()` Make sure that neither the name or the value is null.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ExtraAttribute

    public ExtraAttribute()

Method Detail

### setName

    public void setName(java.lang.String name)

  Set the name of the parameter.

  Parameters:
    `name` - the name of parameter

### setValue

    public void setValue(java.lang.String value)

  Set the value of the parameter.

  Parameters:
    `value` - the parameter value

### validate

    public void validate()
                  throws BuildException

  Make sure that neither the name or the value is null.

  Throws:
    `BuildException` - if the attribute is invalid.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.