public class ParametersMerger extends Object
| Constructor and Description |
|---|
ParametersMerger() |
| Modifier and Type | Method and Description |
|---|---|
static HashMap<net.sf.saxon.s9api.QName,ParameterValue> |
addInputInParameters(HashMap<net.sf.saxon.s9api.QName,ParameterValue> parameters,
File inputFile)
Replaces the parameters in string
|
static HashMap<net.sf.saxon.s9api.QName,ParameterValue> |
merge(HashMap<net.sf.saxon.s9api.QName,ParameterValue> highPriority,
HashMap<net.sf.saxon.s9api.QName,ParameterValue> lowPriority)
Merges the two lists into a new list, and let the two original lists unchanged.
|
static String |
processParametersReplacement(String initialValue,
HashMap<net.sf.saxon.s9api.QName,ParameterValue> parameters)
Replaces the parameters in string
|
public static HashMap<net.sf.saxon.s9api.QName,ParameterValue> merge(HashMap<net.sf.saxon.s9api.QName,ParameterValue> highPriority, HashMap<net.sf.saxon.s9api.QName,ParameterValue> lowPriority)
highPriority - First list of parameterslowPriority - Second list of parameterspublic static String processParametersReplacement(String initialValue, HashMap<net.sf.saxon.s9api.QName,ParameterValue> parameters)
initialValue - The String to change parameters inparameters - The parameters valuespublic static HashMap<net.sf.saxon.s9api.QName,ParameterValue> addInputInParameters(HashMap<net.sf.saxon.s9api.QName,ParameterValue> parameters, File inputFile)
parameters - The parameters valuesinputFile - The input file actually processed. input-basename, input-name, input-absolute and input-extension are added, so can be used.Copyright © 2017. All rights reserved.