1 | Path createClasspath() {↵ | | 1 | Path createFactoryPath() {↵
|
2 | if (config.classpath == null) {↵ | | 2 | if (factoryPath == null) {↵
|
3 | config.classpath = new Path(getProject());↵ | | 3 | factoryPath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return config.classpath.createPath();↵ | | 5 | return factoryPath.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Create a DTD location record. This stores the location of a DTD. The↵ | | 8 | * ↵
|
9 | * DTD is identified by↵ | | 9 | Get the factory path attribute.↵
|
| | | 10 | * If this is not null, the "-factorypath" argument will be used.↵
|
10 | its public Id. The location may either be a file↵ | | 11 | * The default value is ↵
|
11 | * location or a resource location.↵ | | |
|
12 | ↵ | | 12 | null.↵
|
| | | 13 | * @return the factory path attribute.↵
|
| | | 14 | */↵
|
| | | 15 | public Path getFactoryPath() {↵
|
| | | 16 | return factoryPath;↵
|
| | | 17 | }↵
|
|
13 | *↵ | | 18 | /**↵
|
14 | * @return the DTD location object↵ | | 19 | * Create a nested option.↵
|
15 | to be configured by Ant↵ | | 20 | * @return an option to be configured.↵
|
16 | */↵ | | 21 | */↵
|
17 | public DTDLocation createDTD() {↵ | | 22 | public Option createOption() {↵
|
18 | DTDLocation dtdLocation = new DTDLocation();↵ | | 23 | Option opt = new Option();↵
|
19 | config.dtdLocations.add(dtdLocation);↵ | | 24 | options.add(opt);↵
|
|
20 | return dtdLocation;↵ | | 25 | return opt;↵
|
21 | | | 26 |
|