Schnittstelle NodeParser
- Alle bekannten Implementierungsklassen:
AbstractFontElement, AbstractLineElement, AbstractPictureElement, AbstractValueElement, Area, Box, BySummaryOrder, CascadingValueProvider, Chart2, CrossTab, CrossTabBodyCell, CrossTabDescriptionSection, CrossTabHeader, DatabaseField, DatabasePicture, Element, Engine, FacturXSettings, Field, FieldElement, FieldPart, Fields.UnknownField, FieldValueProvider, FormulaField, Group, GroupField, JavaBean, Join, Line, Paragraph, Picture, PromptField, QueryValueProvider, Region, ReportComponent, ReportProperties, Section, SignatureForm, SortField, SpecialField, SpecifiedOrder, SQLField, SQLValueProvider, Subreport, SubreportLink, SummaryField, TableSource, Text, TextPart
public interface NodeParser
Interface for report components which are to be able to parse XML nodes.
This interface is only for internal use of i-net Clear Reports.
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanInternal method for reading report XMLvoidInternal method for reading report XMLparseElement(com.inet.report.parser.XMLTag group, String tag, Attributes atts, Map<String, Object> parserMap) Internal method for reading report XMLvoidparseEndElement(com.inet.report.parser.XMLTag group, String tag, Map<String, Object> parserMap) Internal method for reading report XMLvoidInternal method for reading report XML
-
Methodendetails
-
parseElement
NodeParser parseElement(com.inet.report.parser.XMLTag group, String tag, Attributes atts, Map<String, Object> parserMap) throws FatalParserExceptionInternal method for reading report XMLParses an XML node with the given information, and returns either a sub-element which was created as a result, or null if no sub-element was created, i.e. the information was applied to the ReportComponent itself. Note that the parsing is highly tolerant, i.e. exceptions are intercepted and suppressed if at all possible.
- Parameter:
group- XMLTag of the current node to be parsed, or null if there is no such current group. An XMLTag is a group of nodes bundled together, usually it is a Properties node such as CommonProperties, BorderProperties, etc.tag- The XMLTag to be parsedatts- The set of attributes in the current XMLTagparserMap- The map of current Parser.- Gibt zurück:
- The NodeParser sub-element if one needed to be created, or null if none was created.
- Löst aus:
FatalParserException- if an exception occurs which causes the report to not be able to be read: causes the abortion of the reading of the report.- Seit:
- 8.0
-
parseText
Internal method for reading report XMLThis method is called if text was encountered in the context of this node. (Examples would be a formula's text or a text element's text)
- Parameter:
text- text encountered and to be storedparserMap- The map of current Parser.- Seit:
- 8.0
-
parseEndElement
void parseEndElement(com.inet.report.parser.XMLTag group, String tag, Map<String, Object> parserMap) throws FatalParserExceptionInternal method for reading report XMLReceive notification of the end of an XML tag.
- Parameter:
group- XMLTag of the current node to be parsed, or null if there is no such current group.tag- The XMLTag to be parsedparserMap- The map of current Parser.- Löst aus:
FatalParserException- if an exception occurs which causes the report to not be able to be read: causes the abortion of the reading of the report.- Seit:
- 8.0
-
isDOMParser
boolean isDOMParser()Internal method for reading report XMLReturns whether this node is to be read via a DOM parser.
- Gibt zurück:
- true if this node is to be read via a DOM parser, false otherwise.
- Seit:
- 8.0
-
parseDOM
Internal method for reading report XMLParses the node.
- Parameter:
node- the nodeparserMap- The map of current Parser.- Löst aus:
FatalParserException- if an exception occurs which causes the report to not be able to be read: causes the abortion of the reading of the report.- Seit:
- 8.0
-