"DocumentPath:XPath".
For example:
"com/domain/document.xml:/path/to/node"
Secure processing is enabled by default and can be overridden with StringLookupFactory#xmlStringLookup(Map, Path..
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Map | DEFAULT_XML_FEATURES
Defines default XML factory features. |
| pack-priv static final Map | DEFAULT_XPATH_FEATURES
Defines default XPath factory features. |
| pack-priv static final XmlStringLookup | INSTANCE
Defines the singleton for this class with secure processing enabled by default. |
| private static final int | KEY_PARTS_LEN
The number of key parts. |
| private final Map | xmlFactoryFeatures
Defines XML factory features. |
| private final Map | xPathFactoryFeatures
Defines XPath factory features. |
| Access | Constructor and Description |
|---|---|
| pack-priv | XmlStringLookup(final Map<String, Boolean>
The xmlFactoryFeatures, final Map<String, Boolean> DocumentBuilderFactory features to set.The xPathFactoryFeatures, final Path... fences)XPathFactory features to set.Constructs a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The value associated with the key.the key to be looked up, may be null. key)Implements org. Looks up a value for the key in the format |
| DEFAULT_XML_FEATURES | back to summary |
|---|---|
| pack-priv static final Map<String, Boolean> DEFAULT_XML_FEATURES Defines default XML factory features. | |
| DEFAULT_XPATH_FEATURES | back to summary |
|---|---|
| pack-priv static final Map<String, Boolean> DEFAULT_XPATH_FEATURES Defines default XPath factory features. | |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final XmlStringLookup INSTANCE Defines the singleton for this class with secure processing enabled by default.
Secure processing is enabled by default and can be overridden with | |
| KEY_PARTS_LEN | back to summary |
|---|---|
| private static final int KEY_PARTS_LEN The number of key parts. | |
| xmlFactoryFeatures | back to summary |
|---|---|
| private final Map<String, Boolean> xmlFactoryFeatures Defines XML factory features. | |
| xPathFactoryFeatures | back to summary |
|---|---|
| private final Map<String, Boolean> xPathFactoryFeatures Defines XPath factory features. | |
| XmlStringLookup | back to summary |
|---|---|
| pack-priv XmlStringLookup(final Map<String, Boolean> xmlFactoryFeatures, final Map<String, Boolean> xPathFactoryFeatures, final Path... fences) Constructs a new instance.
| |
| lookup | back to summary |
|---|---|
| public String lookup(final String key) Implements org. Looks up a value for the key in the format For example:
Secure processing is enabled by default and can be overridden with | |