public class XMLParserBaseListener extends Object implements XMLParserListener
XMLParserListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.Constructor and Description |
---|
XMLParserBaseListener() |
public void enterReference(@NotNull XMLParser.ReferenceContext ctx)
XMLParser.reference()
.
The default implementation does nothing.
enterReference
in interface XMLParserListener
ctx
- the parse treepublic void exitReference(@NotNull XMLParser.ReferenceContext ctx)
XMLParser.reference()
.
The default implementation does nothing.
exitReference
in interface XMLParserListener
ctx
- the parse treepublic void enterDocument(@NotNull XMLParser.DocumentContext ctx)
XMLParser.document()
.
The default implementation does nothing.
enterDocument
in interface XMLParserListener
ctx
- the parse treepublic void exitDocument(@NotNull XMLParser.DocumentContext ctx)
XMLParser.document()
.
The default implementation does nothing.
exitDocument
in interface XMLParserListener
ctx
- the parse treepublic void enterChardata(@NotNull XMLParser.ChardataContext ctx)
XMLParser.chardata()
.
The default implementation does nothing.
enterChardata
in interface XMLParserListener
ctx
- the parse treepublic void exitChardata(@NotNull XMLParser.ChardataContext ctx)
XMLParser.chardata()
.
The default implementation does nothing.
exitChardata
in interface XMLParserListener
ctx
- the parse treepublic void enterAttribute(@NotNull XMLParser.AttributeContext ctx)
XMLParser.attribute()
.
The default implementation does nothing.
enterAttribute
in interface XMLParserListener
ctx
- the parse treepublic void exitAttribute(@NotNull XMLParser.AttributeContext ctx)
XMLParser.attribute()
.
The default implementation does nothing.
exitAttribute
in interface XMLParserListener
ctx
- the parse treepublic void enterProlog(@NotNull XMLParser.PrologContext ctx)
XMLParser.prolog()
.
The default implementation does nothing.
enterProlog
in interface XMLParserListener
ctx
- the parse treepublic void exitProlog(@NotNull XMLParser.PrologContext ctx)
XMLParser.prolog()
.
The default implementation does nothing.
exitProlog
in interface XMLParserListener
ctx
- the parse treepublic void enterContent(@NotNull XMLParser.ContentContext ctx)
XMLParser.content()
.
The default implementation does nothing.
enterContent
in interface XMLParserListener
ctx
- the parse treepublic void exitContent(@NotNull XMLParser.ContentContext ctx)
XMLParser.content()
.
The default implementation does nothing.
exitContent
in interface XMLParserListener
ctx
- the parse treepublic void enterElement(@NotNull XMLParser.ElementContext ctx)
XMLParser.element()
.
The default implementation does nothing.
enterElement
in interface XMLParserListener
ctx
- the parse treepublic void exitElement(@NotNull XMLParser.ElementContext ctx)
XMLParser.element()
.
The default implementation does nothing.
exitElement
in interface XMLParserListener
ctx
- the parse treepublic void enterMisc(@NotNull XMLParser.MiscContext ctx)
XMLParser.misc()
.
The default implementation does nothing.
enterMisc
in interface XMLParserListener
ctx
- the parse treepublic void exitMisc(@NotNull XMLParser.MiscContext ctx)
XMLParser.misc()
.
The default implementation does nothing.
exitMisc
in interface XMLParserListener
ctx
- the parse treepublic void enterEveryRule(@NotNull org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void exitEveryRule(@NotNull org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitTerminal(@NotNull org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitErrorNode(@NotNull org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode
in interface org.antlr.v4.runtime.tree.ParseTreeListener
Copyright © 2024. All rights reserved.