Class ExcelToXml

    • Constructor Detail

      • ExcelToXml

        public ExcelToXml()
    • Method Detail

      • writeXmlDocument

        protected void writeXmlDocument​(org.w3c.dom.Document doc,
                                        AdaptrisMessage msg)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getXmlStyle

        public XmlStyle getXmlStyle()
      • setXmlStyle

        public void setXmlStyle​(XmlStyle style)
      • getIgnoreNullRows

        public java.lang.Boolean getIgnoreNullRows()
      • setIgnoreNullRows

        public void setIgnoreNullRows​(java.lang.Boolean b)
        Set to true to ignore null rows.

        In some spreadsheets it is possible to get a null Row object when doing Row row = sheet.getRow(i). Set this to be true to silently ignore errors, which means you may a mismatch between the number of rows in the spreadsheet vs the number of Row elements in the resulting XML.

        Parameters:
        b - true to ignore rows that are null; default null (false).
        Since:
        3.0.3
      • ignoreNullRows

        public boolean ignoreNullRows()
      • logger

        public org.slf4j.Logger logger()