1 | void setWhitespace(boolean whitespace) {↵ | | 1 | void setNamespace(boolean namespace) {↵
|
2 | setProperty(new BooleanProperty(WHITESPACE_KEY, whitespace));↵ | | 2 | setProperty(new BooleanProperty(NAMESPACE_KEY, namespace));↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Set use validation↵ | | 5 | * Set ↵
|
6 | * ↵ | | |
|
7 | * @param validat↵ | | 6 | tolerant mode if required↵
|
| | | 7 | * ↵
|
| | | 8 | * @param tolerant↵
|
8 | e↵ | | 9 | * true/false↵
|
9 | */↵ | | 10 | */↵
|
10 | public void setValidating(boolean validate) {↵ | | 11 | public void setTolerant(boolean tolerant) {↵
|
11 | setProperty(new BooleanProperty(VALIDATE_KEY, validate));↵ | | 12 | setProperty(new BooleanProperty(↵
|
12 | }↵ | | |
|
|
13 | /**↵ | | |
|
14 | * Set whether this is namespace aware↵ | | |
|
15 | * ↵ | | |
|
16 | * @param namespace↵ | | |
|
17 | */↵ | | 13 | TOLERANT_KEY, tolerant));↵
|
| | | 14 | }↵
|
|
18 | public void setNamespace(boolean namespace) {↵ | | 15 | public void setNegated(boolean negate) {↵
|
19 | setProperty(new BooleanProperty(NAMESPACE_KEY, namespace));↵ | | 16 | setProperty(new BooleanProperty(NEGATE_KEY, negate));↵
|
20 | } | | 17 | }
|