1 | void setFrom(String from) {↵ | | 1 | void setOutputEncoding(String outputEncoding) {↵
|
2 | if (isReference()) {↵ | | 2 | if (isReference()) {↵
|
3 | throw tooManyAttributes();↵ | | 3 | throw tooManyAttributes();↵
|
4 | }↵ | | 4 | }↵
|
5 | this.from = from;↵ | | 5 | this.outputEncoding = outputEncoding;↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Set the argument to FileNameMapper.setTo↵ | | 8 | * Set the ↵
|
9 | * @param to the to attribute to pass to the FileNameMapper↵ | | 9 | error encoding.↵
|
| | | 10 | *↵
|
| | | 11 | * @param errorEncoding <code>String</code>.↵
|
10 | */↵ | | 12 | */↵
|
11 | public void setTo(String to) {↵ | | 13 | public void setErrorEncoding(String errorEncoding) {↵
|
12 | if (isReference()) {↵ | | 14 | if (isReference()) {↵
|
13 | throw tooManyAttributes();↵ | | 15 | throw tooManyAttributes();↵
|
14 | }↵ | | 16 | }↵
|
15 | this.to = to;↵ | | 17 | this.errorEncoding = errorEncoding;↵
|
16 | | | 18 |
|