Class DefaultXmlReader
java.lang.Object
io.jmix.reports.yarg.structure.xml.impl.DefaultXmlReader
- All Implemented Interfaces:
XmlReader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected InputStream
getDocumentContent
(String documentPath) Override this method to load files differently from basic file system wayprotected void
parseChildBandDefinitions
(org.dom4j.Element bandDefinitionElement, BandBuilder parentBandDefinitionBuilder) protected List<ReportParameter>
parseInputParameters
(org.dom4j.Element rootElement) protected Map<String,
ReportTemplate> parseTemplates
(org.dom4j.Element rootElement) protected List<ReportFieldFormat>
parseValueFormats
(org.dom4j.Element rootElement)
-
Constructor Details
-
DefaultXmlReader
public DefaultXmlReader()
-
-
Method Details
-
parseXml
- Specified by:
parseXml
in interfaceXmlReader
- Throws:
IOException
-
getDocumentContent
Override this method to load files differently from basic file system way- Parameters:
documentPath
- - path to document (file system path or other if overriden)- Throws:
FileNotFoundException
-
parseTemplates
protected Map<String,ReportTemplate> parseTemplates(org.dom4j.Element rootElement) throws IOException - Throws:
IOException
-
parseInputParameters
protected List<ReportParameter> parseInputParameters(org.dom4j.Element rootElement) throws FileNotFoundException, ClassNotFoundException -
parseValueFormats
protected List<ReportFieldFormat> parseValueFormats(org.dom4j.Element rootElement) throws FileNotFoundException, ClassNotFoundException -
parseChildBandDefinitions
protected void parseChildBandDefinitions(org.dom4j.Element bandDefinitionElement, BandBuilder parentBandDefinitionBuilder) throws FileNotFoundException, ClassNotFoundException
-