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