Package org.openbravo.xmlEngine
Class XmlEngine
- java.lang.Object
-
- org.openbravo.xmlEngine.XmlEngine
-
public class XmlEngine extends Object
-
-
Field Summary
Fields Modifier and Type Field Description File
fileBaseLocation
File
fileXmlEngineFormat
boolean
isResource
String
sessionLanguage
String
strReplaceWhat
String
strReplaceWith
static String
strTextDividedByZero
-
Constructor Summary
Constructors Constructor Description XmlEngine()
XmlEngine(ConnectionProvider connProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize()
XmlTemplate
readXmlTemplate(String strXmlTemplateFile)
this function reads a file that defines a XmlTemplate without any discardXmlTemplate
readXmlTemplate(String strXmlTemplateFile, String[] discard)
this function reads a file that defines a XmlTemplate with a vector of discard
-
-
-
Field Detail
-
fileXmlEngineFormat
public File fileXmlEngineFormat
-
fileBaseLocation
public File fileBaseLocation
-
sessionLanguage
public String sessionLanguage
-
strReplaceWhat
public String strReplaceWhat
-
strReplaceWith
public String strReplaceWith
-
isResource
public boolean isResource
-
strTextDividedByZero
public static String strTextDividedByZero
-
-
Constructor Detail
-
XmlEngine
public XmlEngine(ConnectionProvider connProvider)
-
XmlEngine
public XmlEngine()
-
-
Method Detail
-
initialize
public void initialize()
-
readXmlTemplate
public XmlTemplate readXmlTemplate(String strXmlTemplateFile)
this function reads a file that defines a XmlTemplate without any discard- Parameters:
strXmlTemplateFile
- A configuration file of the XmlTemplate in XML format
-
readXmlTemplate
public XmlTemplate readXmlTemplate(String strXmlTemplateFile, String[] discard)
this function reads a file that defines a XmlTemplate with a vector of discard- Parameters:
strXmlTemplateFile
- A configuration file of the XmlTemplate in XML formatdiscard
- A vector of Strings with the names of the discards in the template file. The elements with a id equal to a discard are not readed
-
-