com.phoenix_int.aserver.util.scriptwrapper.api
Class Hierarchy
InputFile,OutputFile,OutputFile2,ParseableFile,java.io.Closeable,java.lang.AutoCloseable
Declaration
Nested Class Summary
Nested classes/interfaces inherited from interface com.phoenix_int.aserver.util.scriptwrapper.api.ParseableFile
ParseableFile.Mode
Field Summary
Fields inherited from class com.phoenix_int.aserver.util.scriptwrapper.api.AbstractFile
encoding, fileName, mode, parser, templateFileName, wrapper
Constructor Summary
Method Summary
Methods inherited from class com.phoenix_int.aserver.util.scriptwrapper.api.AbstractFile
actionByMode, backup, close, delete, ensureFileParser, getEncoding, getRealFile, readTemplate, setEncoding, setEncoding, setFileToGenerateOrParse, setTempEmbedded, setTemplateFile, setVariable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.phoenix_int.aserver.util.scriptwrapper.api.ParseableFile
backup, close, delete, readTemplate, setFileToGenerateOrParse, setTempEmbedded, setTemplateFile, setVariable
Constructor Detail
XPathFile
wrapper- script wrapper objectmode- parser mode
Method Detail
addVariable
generate(), parse(), or AbstractFile.readTemplate().
Parameters:
name- variable nametype- variable typeisInput- whether variable is an inputxpath- XPath expression
newParser
newParserin classAbstractFile
rFile- The file to openpmode- caching mode for underlying parser
java.io.IOException
newParser
file-
java.io.IOExceptionorg.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationException
getParser
java.io.IOException
transferVars
transferVarsin classAbstractFile
java.io.IOExceptioncom.phoenix_int.aserver.util.PHXInvalidFormatExceptionPHXNoSuchTokenExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionPHXNumberFormatException
transferArray
ParseableFile.Mode
Parameters:
var- array variableexp- XPath expression
PHXNoSuchTokenExceptionjava.io.IOExceptionjavax.xml.xpath.XPathExpressionException
transferVar
ParseableFile.Mode
Parameters:
var- variableexp- XPath expression
javax.xml.xpath.XPathExpressionExceptionPHXNoSuchTokenExceptionjava.io.IOException
parse
parsein interfaceOutputFileparsein interfaceOutputFile2
java.io.IOExceptioncom.phoenix_int.aserver.util.PHXInvalidFormatExceptionPHXNoSuchTokenExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionPHXNumberFormatException
setFileToParse
setFileToParsein interfaceOutputFilesetFileToParsein interfaceOutputFile2
fileName- file name
generate
generatein interfaceInputFile
java.io.IOExceptioncom.phoenix_int.aserver.util.PHXInvalidFormatExceptionPHXNoSuchTokenExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionPHXNumberFormatException
setFileToGenerate
setFileToGeneratein interfaceInputFile
fileName- file name