Class XMLParserBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,XMLParserListener
XMLParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byXMLParser.attribute().voidEnter a parse tree produced byXMLParser.chardata().voidEnter a parse tree produced byXMLParser.content().voidEnter a parse tree produced byXMLParser.declSep().voidEnter a parse tree produced byXMLParser.doctypedecl().voidEnter a parse tree produced byXMLParser.document().voidEnter a parse tree produced byXMLParser.element().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byXMLParser.externalid().voidEnter a parse tree produced byXMLParser.intsubset().voidEnter a parse tree produced byXMLParser.jspcomment().voidEnter a parse tree produced byXMLParser.jspdeclaration().voidEnter a parse tree produced byXMLParser.jspdirective().voidEnter a parse tree produced byXMLParser.jspexpression().voidEnter a parse tree produced byXMLParser.jspscriptlet().voidEnter a parse tree produced byXMLParser.markupdecl().voidEnter a parse tree produced byXMLParser.misc().voidEnter a parse tree produced byXMLParser.processinginstruction().voidEnter a parse tree produced byXMLParser.prolog().voidEnter a parse tree produced byXMLParser.reference().voidEnter a parse tree produced byXMLParser.xmldecl().voidExit a parse tree produced byXMLParser.attribute().voidExit a parse tree produced byXMLParser.chardata().voidExit a parse tree produced byXMLParser.content().voidExit a parse tree produced byXMLParser.declSep().voidExit a parse tree produced byXMLParser.doctypedecl().voidExit a parse tree produced byXMLParser.document().voidExit a parse tree produced byXMLParser.element().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byXMLParser.externalid().voidExit a parse tree produced byXMLParser.intsubset().voidExit a parse tree produced byXMLParser.jspcomment().voidExit a parse tree produced byXMLParser.jspdeclaration().voidExit a parse tree produced byXMLParser.jspdirective().voidExit a parse tree produced byXMLParser.jspexpression().voidExit a parse tree produced byXMLParser.jspscriptlet().voidExit a parse tree produced byXMLParser.markupdecl().voidExit a parse tree produced byXMLParser.misc().voidExit a parse tree produced byXMLParser.processinginstruction().voidExit a parse tree produced byXMLParser.prolog().voidExit a parse tree produced byXMLParser.reference().voidExit a parse tree produced byXMLParser.xmldecl().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
XMLParserBaseListener
public XMLParserBaseListener()
-
-
Method Details
-
enterDocument
Enter a parse tree produced byXMLParser.document().The default implementation does nothing.
- Specified by:
enterDocumentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitDocument
Exit a parse tree produced byXMLParser.document().The default implementation does nothing.
- Specified by:
exitDocumentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterProlog
Enter a parse tree produced byXMLParser.prolog().The default implementation does nothing.
- Specified by:
enterPrologin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitProlog
Exit a parse tree produced byXMLParser.prolog().The default implementation does nothing.
- Specified by:
exitPrologin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterXmldecl
Enter a parse tree produced byXMLParser.xmldecl().The default implementation does nothing.
- Specified by:
enterXmldeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitXmldecl
Exit a parse tree produced byXMLParser.xmldecl().The default implementation does nothing.
- Specified by:
exitXmldeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterMisc
Enter a parse tree produced byXMLParser.misc().The default implementation does nothing.
- Specified by:
enterMiscin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitMisc
Exit a parse tree produced byXMLParser.misc().The default implementation does nothing.
- Specified by:
exitMiscin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterDoctypedecl
Enter a parse tree produced byXMLParser.doctypedecl().The default implementation does nothing.
- Specified by:
enterDoctypedeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitDoctypedecl
Exit a parse tree produced byXMLParser.doctypedecl().The default implementation does nothing.
- Specified by:
exitDoctypedeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterIntsubset
Enter a parse tree produced byXMLParser.intsubset().The default implementation does nothing.
- Specified by:
enterIntsubsetin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitIntsubset
Exit a parse tree produced byXMLParser.intsubset().The default implementation does nothing.
- Specified by:
exitIntsubsetin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterMarkupdecl
Enter a parse tree produced byXMLParser.markupdecl().The default implementation does nothing.
- Specified by:
enterMarkupdeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitMarkupdecl
Exit a parse tree produced byXMLParser.markupdecl().The default implementation does nothing.
- Specified by:
exitMarkupdeclin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterDeclSep
Enter a parse tree produced byXMLParser.declSep().The default implementation does nothing.
- Specified by:
enterDeclSepin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitDeclSep
Exit a parse tree produced byXMLParser.declSep().The default implementation does nothing.
- Specified by:
exitDeclSepin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterExternalid
Enter a parse tree produced byXMLParser.externalid().The default implementation does nothing.
- Specified by:
enterExternalidin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitExternalid
Exit a parse tree produced byXMLParser.externalid().The default implementation does nothing.
- Specified by:
exitExternalidin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterProcessinginstruction
Enter a parse tree produced byXMLParser.processinginstruction().The default implementation does nothing.
- Specified by:
enterProcessinginstructionin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitProcessinginstruction
Exit a parse tree produced byXMLParser.processinginstruction().The default implementation does nothing.
- Specified by:
exitProcessinginstructionin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterContent
Enter a parse tree produced byXMLParser.content().The default implementation does nothing.
- Specified by:
enterContentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitContent
Exit a parse tree produced byXMLParser.content().The default implementation does nothing.
- Specified by:
exitContentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterElement
Enter a parse tree produced byXMLParser.element().The default implementation does nothing.
- Specified by:
enterElementin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitElement
Exit a parse tree produced byXMLParser.element().The default implementation does nothing.
- Specified by:
exitElementin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterJspdirective
Enter a parse tree produced byXMLParser.jspdirective().The default implementation does nothing.
- Specified by:
enterJspdirectivein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitJspdirective
Exit a parse tree produced byXMLParser.jspdirective().The default implementation does nothing.
- Specified by:
exitJspdirectivein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterJspscriptlet
Enter a parse tree produced byXMLParser.jspscriptlet().The default implementation does nothing.
- Specified by:
enterJspscriptletin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitJspscriptlet
Exit a parse tree produced byXMLParser.jspscriptlet().The default implementation does nothing.
- Specified by:
exitJspscriptletin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterJspexpression
Enter a parse tree produced byXMLParser.jspexpression().The default implementation does nothing.
- Specified by:
enterJspexpressionin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitJspexpression
Exit a parse tree produced byXMLParser.jspexpression().The default implementation does nothing.
- Specified by:
exitJspexpressionin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterJspdeclaration
Enter a parse tree produced byXMLParser.jspdeclaration().The default implementation does nothing.
- Specified by:
enterJspdeclarationin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitJspdeclaration
Exit a parse tree produced byXMLParser.jspdeclaration().The default implementation does nothing.
- Specified by:
exitJspdeclarationin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterJspcomment
Enter a parse tree produced byXMLParser.jspcomment().The default implementation does nothing.
- Specified by:
enterJspcommentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitJspcomment
Exit a parse tree produced byXMLParser.jspcomment().The default implementation does nothing.
- Specified by:
exitJspcommentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterReference
Enter a parse tree produced byXMLParser.reference().The default implementation does nothing.
- Specified by:
enterReferencein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitReference
Exit a parse tree produced byXMLParser.reference().The default implementation does nothing.
- Specified by:
exitReferencein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterAttribute
Enter a parse tree produced byXMLParser.attribute().The default implementation does nothing.
- Specified by:
enterAttributein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitAttribute
Exit a parse tree produced byXMLParser.attribute().The default implementation does nothing.
- Specified by:
exitAttributein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterChardata
Enter a parse tree produced byXMLParser.chardata().The default implementation does nothing.
- Specified by:
enterChardatain interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitChardata
Exit a parse tree produced byXMLParser.chardata().The default implementation does nothing.
- Specified by:
exitChardatain interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-