public class ParamReader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FABANURI
The base Faban namespace URI.
|
Constructor and Description |
---|
ParamReader(String fileName,
boolean warnDeprecated)
Constructs a ParamReader for the given configuration file.
|
Modifier and Type | Method and Description |
---|---|
Document |
getDocument()
Obtains the Document object for this param file.
|
XPath |
getXPath()
Obtains the preconfigured XPath object.
|
static void |
main(String[] args)
Invokes the ParamReader in conversion mode and actually saves the
conversion output to a file.
|
public static final String FABANURI
public ParamReader(String fileName, boolean warnDeprecated) throws Exception
fileName
- The configuration filewarnDeprecated
- Log warnings if config file is deprecated formatException
- If reading this file does not succeed