Package ball.util.ant.types
Class TypedAttributeType
- java.lang.Object
-
- ball.util.ant.types.OptionalTextType
-
- ball.util.ant.types.StringValueType
-
- ball.util.ant.types.StringAttributeType
-
- ball.util.ant.types.TypedAttributeType
-
public class TypedAttributeType extends StringAttributeType
- Author:
- Allen D. Ball
-
-
Constructor Summary
Constructors Constructor Description TypedAttributeType()
No-argument constructor.TypedAttributeType(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getType()
Object
getTypedValue()
Object
getTypedValue(ClassLoader loader)
void
setType(String type)
-
Methods inherited from class ball.util.ant.types.StringAttributeType
getKey, getName, setName, toString
-
Methods inherited from class ball.util.ant.types.StringValueType
addText, getValue, setValue
-
Methods inherited from class ball.util.ant.types.OptionalTextType
getIf, getUnless, isActive, setIf, setUnless
-
-
-
-
Constructor Detail
-
TypedAttributeType
@ConstructorProperties("name") public TypedAttributeType(String name)
- Parameters:
name
- The attribute name.
-
TypedAttributeType
public TypedAttributeType()
No-argument constructor.
-
-
Method Detail
-
getTypedValue
public Object getTypedValue() throws BuildException
- Throws:
BuildException
-
getTypedValue
public Object getTypedValue(ClassLoader loader) throws BuildException
- Throws:
BuildException
-
-