public class StandardEnvironmentVariableResolver extends java.lang.Object implements EnvironmentVariableResolver
EnvironmentVariableResolver
. This implementation
maps "environment variables" as defined in the XPath context to environment variables
delivered by Java using the System.getenv()
method.Constructor and Description |
---|
StandardEnvironmentVariableResolver() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getAvailableEnvironmentVariables()
Get the list of available environment variables.
|
java.lang.String |
getEnvironmentVariable(java.lang.String name)
Get the value of a specific environment variable
|
public java.util.Set<java.lang.String> getAvailableEnvironmentVariables()
getAvailableEnvironmentVariables
in interface EnvironmentVariableResolver
getEnvironmentVariable(String)
public java.lang.String getEnvironmentVariable(java.lang.String name)
getEnvironmentVariable
in interface EnvironmentVariableResolver
name
- the name of the required environment variablegetAvailableEnvironmentVariables()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.