Class XmlEngine


  • public class XmlEngine
    extends Object
    • 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()
    • 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 format
        discard - 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