1 | Path createAttachments() {↵ | | 1 | Path createFactoryPath() {↵
|
2 | if (attachments == null) {↵ | | 2 | if (factoryPath == null) {↵
|
3 | attachments = new Path(getProject());↵ | | 3 | factoryPath = new Path(getProject());↵
|
4 | }↵ | | 4 | }↵
|
5 | return attachments.createPath();↵ | | 5 | return factoryPath.createPath();↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Create a nested ↵ | | 8 | * Get the factory path attribute.↵
|
| | | 9 | * If this is not null, the "-factorypath" argument will be used.↵
|
9 | header element.↵ | | 10 | * The de↵
|
10 | * @return a Header instance.↵ | | |
|
11 | */↵ | | |
|
12 | public Header createHeader() {↵ | | |
|
13 | Header h↵ | | 11 | fault value is null.↵
|
| | | 12 | * @return the factory path attribute.↵
|
| | | 13 | */↵
|
| | | 14 | public Path getFactoryPath() {↵
|
| | | 15 | return factoryPath;↵
|
| | | 16 | }↵
|
|
| | | 17 | /**↵
|
| | | 18 | * Create a nested option.↵
|
| | | 19 | * @return an option to be configured.↵
|
| | | 20 | */↵
|
| | | 21 | public Option createOption() {↵
|
14 | = new Header();↵ | | 22 | Option opt = new Option();↵
|
15 | headers.add(h);↵ | | 23 | options.add(opt);↵
|
16 | return h;↵ | | 24 | return opt;↵
|
17 | | | 25 |
|