public class NestedAttributeElement extends Object implements org.apache.tools.ant.DynamicAttribute, IOptionSource
Modifier and Type | Field and Description |
---|---|
protected OptionSpec |
spec |
Constructor and Description |
---|
NestedAttributeElement(String[] attribs,
OptionSpec spec) |
NestedAttributeElement(String[] attribs,
OptionSpec spec,
FlexTask task) |
NestedAttributeElement(String[] attribs,
OptionSpec spec,
FlexTask task,
boolean allowAppend) |
NestedAttributeElement(String attrib,
OptionSpec spec) |
NestedAttributeElement(String attrib,
OptionSpec spec,
FlexTask task) |
Modifier and Type | Method and Description |
---|---|
void |
addText(String value) |
void |
addToCommandline(org.apache.tools.ant.types.Commandline cmdline)
Adds the object's commandline representation to
cmdline . |
void |
setDynamicAttribute(String name,
String value)
Assign attribute value.
|
protected OptionSpec spec
public NestedAttributeElement(String attrib, OptionSpec spec)
public NestedAttributeElement(String[] attribs, OptionSpec spec)
public NestedAttributeElement(String attrib, OptionSpec spec, FlexTask task)
public NestedAttributeElement(String[] attribs, OptionSpec spec, FlexTask task)
public NestedAttributeElement(String[] attribs, OptionSpec spec, FlexTask task, boolean allowAppend)
public void addText(String value)
public void setDynamicAttribute(String name, String value)
name
is in the expected attribute list, the value
will
be recorded. Otherwise, throw exception about unknown attribute.
"append" attribute is a special case. If append="true"
, the command-line argument will
use +=
instead of =
.
setDynamicAttribute
in interface org.apache.tools.ant.DynamicAttribute
name
- attribute namevalue
- attribute valuepublic void addToCommandline(org.apache.tools.ant.types.Commandline cmdline)
IOptionSource
cmdline
.addToCommandline
in interface IOptionSource
Copyright © 2016 The Apache Software Foundation. All rights reserved.