1 | Path createClasspath() {↵ | | 1 | Path createAttachments() {↵
|
2 | if (config.classpath == null) {↵ | | 2 | if (attachments == null) {↵
|
3 | config.classpath = new Path(getProject());↵ | | 3 | attachments = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return config.classpath.createPath();↵ | | 5 | return attachments.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Create a DTD location record. This stores the location of a DTD. The↵ | | 8 | * Create a ↵
|
9 | * DTD is identified by its public Id. The location may either be a file↵ | | |
|
10 | * location or a resource location.↵ | | 9 | nested header element.↵
|
11 | *↵ | | |
|
12 | * @return the DTD location object to be configured by Ant↵ | | 10 | * @return a Header instance.↵
|
13 | */↵ | | 11 | */↵
|
14 | public DTDLocation createDTD() {↵ | | 12 | public Header createHeader() {↵
|
15 | DTDLocation dtdLocation = new DTDLocation();↵ | | 13 | ↵
|
16 | config.dtdLocations.add(dtdLocation↵ | | 14 | Header h = new Header();↵
|
17 | );↵ | | 15 | headers.add(h);↵
|
|
18 | return dtdLocation;↵ | | 16 | return h;↵
|
19 | | | 17 |
|