1 | Attribute createAttribute() {↵ | | |
|
2 | final Attribute feature = new Attribute();↵ | | |
|
3 | attributeList.addElement(feature↵ | | 1 | DTDLocation createDTD() {↵
|
| | | 2 | DTDLocation dtdLocation = new DTDLocation();↵
|
4 | );↵ | | 3 | config.dtdLocations.add(dtdLocation);↵
|
|
5 | return feature;↵ | | 4 | return dtdLocation;↵
|
6 | }↵ | | 5 | }↵
|
|
7 | /**↵ | | 6 | /**↵
|
8 | * Creates a property.↵ | | 7 | * ↵
|
9 | *↵ | | |
|
10 | * @return a property.↵ | | |
|
11 | * @since ant 1.6.2↵ | | 8 | Adds a fileset for support elements.↵
|
| | | 9 | *↵
|
| | | 10 | * @return a fileset which can be populated with support files.↵
|
12 | */↵ | | 11 | */↵
|
13 | public Property createProperty() {↵ | | 12 | public FileSet createSupport() {↵
|
14 | final Property prop = new Property();↵ | | 13 | ↵
|
15 | propertyList.addElement(prop↵ | | 14 | FileSet supportFileSet = new FileSet();↵
|
16 | );↵ | | 15 | config.supportFileSets.add(supportFileSet);↵
|
17 | return prop;↵ | | 16 | return supportFileSet;↵
|
18 | | | 17 |
|