public class XMLParserBaseListener extends java.lang.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 enterDocument(XMLParser.DocumentContext ctx)
XMLParser.document()
.
The default implementation does nothing.
enterDocument
in interface XMLParserListener
ctx
- the parse treepublic void exitDocument(XMLParser.DocumentContext ctx)
XMLParser.document()
.
The default implementation does nothing.
exitDocument
in interface XMLParserListener
ctx
- the parse treepublic void enterProlog(XMLParser.PrologContext ctx)
XMLParser.prolog()
.
The default implementation does nothing.
enterProlog
in interface XMLParserListener
ctx
- the parse treepublic void exitProlog(XMLParser.PrologContext ctx)
XMLParser.prolog()
.
The default implementation does nothing.
exitProlog
in interface XMLParserListener
ctx
- the parse treepublic void enterContent(XMLParser.ContentContext ctx)
XMLParser.content()
.
The default implementation does nothing.
enterContent
in interface XMLParserListener
ctx
- the parse treepublic void exitContent(XMLParser.ContentContext ctx)
XMLParser.content()
.
The default implementation does nothing.
exitContent
in interface XMLParserListener
ctx
- the parse treepublic void enterElement(XMLParser.ElementContext ctx)
XMLParser.element()
.
The default implementation does nothing.
enterElement
in interface XMLParserListener
ctx
- the parse treepublic void exitElement(XMLParser.ElementContext ctx)
XMLParser.element()
.
The default implementation does nothing.
exitElement
in interface XMLParserListener
ctx
- the parse treepublic void enterReference(XMLParser.ReferenceContext ctx)
XMLParser.reference()
.
The default implementation does nothing.
enterReference
in interface XMLParserListener
ctx
- the parse treepublic void exitReference(XMLParser.ReferenceContext ctx)
XMLParser.reference()
.
The default implementation does nothing.
exitReference
in interface XMLParserListener
ctx
- the parse treepublic void enterAttribute(XMLParser.AttributeContext ctx)
XMLParser.attribute()
.
The default implementation does nothing.
enterAttribute
in interface XMLParserListener
ctx
- the parse treepublic void exitAttribute(XMLParser.AttributeContext ctx)
XMLParser.attribute()
.
The default implementation does nothing.
exitAttribute
in interface XMLParserListener
ctx
- the parse treepublic void enterChardata(XMLParser.ChardataContext ctx)
XMLParser.chardata()
.
The default implementation does nothing.
enterChardata
in interface XMLParserListener
ctx
- the parse treepublic void exitChardata(XMLParser.ChardataContext ctx)
XMLParser.chardata()
.
The default implementation does nothing.
exitChardata
in interface XMLParserListener
ctx
- the parse treepublic void enterMisc(XMLParser.MiscContext ctx)
XMLParser.misc()
.
The default implementation does nothing.
enterMisc
in interface XMLParserListener
ctx
- the parse treepublic void exitMisc(XMLParser.MiscContext ctx)
XMLParser.misc()
.
The default implementation does nothing.
exitMisc
in interface XMLParserListener
ctx
- the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode
in interface org.antlr.v4.runtime.tree.ParseTreeListener