You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Secure processing is enabled by default and can be overridden with the system property {@code "XmlStringLookup.secure"} set to {@code false}. The secure
1722
-
* boolean String parsing follows the syntax defined by {@link Boolean#parseBoolean(String)}.
1721
+
* Secure processing is enabled by default and can be overridden with this constructor.
1723
1722
* </p>
1724
1723
* <p>
1725
1724
* Using a {@link StringLookup} from the {@link StringLookupFactory} fenced by the current directory ({@code Paths.get("")}):
* Secure processing is enabled by default and can be overridden with the system property {@code "XmlStringLookup.secure"} set to {@code false}. The secure
46
-
* boolean String parsing follows the syntax defined by {@link Boolean#parseBoolean(String)}.
44
+
* Secure processing is enabled by default and can be overridden with {@link StringLookupFactory#xmlStringLookup(Map, Path...)}.
47
45
* </p>
48
46
*
49
47
* @since 1.5
@@ -72,14 +70,13 @@ final class XmlStringLookup extends AbstractPathFencedLookup {
72
70
}
73
71
74
72
/**
75
-
* Defines the singleton for this class with secure processing enabled.
73
+
* Defines the singleton for this class with secure processing enabled by default.
74
+
* <p>
75
+
* Secure processing is enabled by default and can be overridden with {@link StringLookupFactory#xmlStringLookup(Map, Path...)}.
* Secure processing is enabled by default. The secure boolean String parsing follows the syntax defined by {@link Boolean#parseBoolean(String)}. The secure
117
-
* value in the key overrides instance settings given in the constructor.
113
+
* Secure processing is enabled by default and can be overridden with {@link StringLookupFactory#xmlStringLookup(Map, Path...)}.
118
114
* </p>
119
115
*
120
116
* @param key the key to be looked up, may be null.
@@ -130,22 +126,19 @@ public String lookup(final String key) {
130
126
if (keyLen != KEY_PARTS_LEN) {
131
127
throwIllegalArgumentExceptions.format("Bad XML key format '%s'; the expected format is 'DocumentPath:XPath'.", key);
0 commit comments