1 | public void setName(String name) {↵ | | 1 | public void setName(String name) {↵
|
2 | if (!isValidName(name)) {↵ | | 2 | if (!isValidName(name)) {↵
|
3 | throw new BuildException(↵ | | 3 | throw new BuildException(↵
|
4 | "Illegal name [" + name + "] for attribute");↵ | | 4 | "Illegal name [" + name + "] for macro element");↵
|
5 | }↵ | | 5 | }↵
|
6 | this.name = name.toLowerCase(Locale.US);↵ | | 6 | this.name = name.toLowerCase(Locale.US);↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
| | | 9 | * Gets the name of this element.↵
|
| | | 10 | *↵
|
9 | * @return the name of the attribute↵ | | 11 | * @return the name of the element.↵
|
10 | */↵ | | 12 | */↵
|
11 | public String getName() {↵ | | 13 | public String getName() {↵
|
12 | return name | | 14 | return name
|