Class DefaultXmlReader
java.lang.Object
io.jmix.reports.yarg.structure.xml.impl.DefaultXmlReader
- All Implemented Interfaces:
- XmlReader
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected InputStreamgetDocumentContent(String documentPath) Override this method to load files differently from basic file system wayprotected voidparseChildBandDefinitions(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- 
DefaultXmlReaderpublic DefaultXmlReader()
 
- 
- 
Method Details- 
parseXml- Specified by:
- parseXmlin interface- XmlReader
- Throws:
- IOException
 
- 
getDocumentContentOverride 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
 
- 
parseTemplatesprotected Map<String,ReportTemplate> parseTemplates(org.dom4j.Element rootElement) throws IOException - Throws:
- IOException
 
- 
parseInputParametersprotected List<ReportParameter> parseInputParameters(org.dom4j.Element rootElement) throws FileNotFoundException, ClassNotFoundException 
- 
parseValueFormatsprotected List<ReportFieldFormat> parseValueFormats(org.dom4j.Element rootElement) throws FileNotFoundException, ClassNotFoundException 
- 
parseChildBandDefinitionsprotected void parseChildBandDefinitions(org.dom4j.Element bandDefinitionElement, BandBuilder parentBandDefinitionBuilder) throws FileNotFoundException, ClassNotFoundException 
 
-