Class XMLParserBaseListener
- java.lang.Object
-
- android.databinding.parser.XMLParserBaseListener
-
- All Implemented Interfaces:
XMLParserListener,org.antlr.v4.runtime.tree.ParseTreeListener
public class XMLParserBaseListener extends java.lang.Object implements XMLParserListener
This class provides an empty implementation ofXMLParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description XMLParserBaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterAttribute(XMLParser.AttributeContext ctx)Enter a parse tree produced byXMLParser.attribute().voidenterChardata(XMLParser.ChardataContext ctx)Enter a parse tree produced byXMLParser.chardata().voidenterContent(XMLParser.ContentContext ctx)Enter a parse tree produced byXMLParser.content().voidenterDocument(XMLParser.DocumentContext ctx)Enter a parse tree produced byXMLParser.document().voidenterElement(XMLParser.ElementContext ctx)Enter a parse tree produced byXMLParser.element().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidenterMisc(XMLParser.MiscContext ctx)Enter a parse tree produced byXMLParser.misc().voidenterProlog(XMLParser.PrologContext ctx)Enter a parse tree produced byXMLParser.prolog().voidenterReference(XMLParser.ReferenceContext ctx)Enter a parse tree produced byXMLParser.reference().voidexitAttribute(XMLParser.AttributeContext ctx)Exit a parse tree produced byXMLParser.attribute().voidexitChardata(XMLParser.ChardataContext ctx)Exit a parse tree produced byXMLParser.chardata().voidexitContent(XMLParser.ContentContext ctx)Exit a parse tree produced byXMLParser.content().voidexitDocument(XMLParser.DocumentContext ctx)Exit a parse tree produced byXMLParser.document().voidexitElement(XMLParser.ElementContext ctx)Exit a parse tree produced byXMLParser.element().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidexitMisc(XMLParser.MiscContext ctx)Exit a parse tree produced byXMLParser.misc().voidexitProlog(XMLParser.PrologContext ctx)Exit a parse tree produced byXMLParser.prolog().voidexitReference(XMLParser.ReferenceContext ctx)Exit a parse tree produced byXMLParser.reference().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
-
-
Method Detail
-
enterDocument
public void enterDocument(XMLParser.DocumentContext ctx)
Enter a parse tree produced byXMLParser.document().The default implementation does nothing.
- Specified by:
enterDocumentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitDocument
public void exitDocument(XMLParser.DocumentContext ctx)
Exit a parse tree produced byXMLParser.document().The default implementation does nothing.
- Specified by:
exitDocumentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterProlog
public void enterProlog(XMLParser.PrologContext ctx)
Enter a parse tree produced byXMLParser.prolog().The default implementation does nothing.
- Specified by:
enterPrologin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitProlog
public void exitProlog(XMLParser.PrologContext ctx)
Exit a parse tree produced byXMLParser.prolog().The default implementation does nothing.
- Specified by:
exitPrologin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterContent
public void enterContent(XMLParser.ContentContext ctx)
Enter a parse tree produced byXMLParser.content().The default implementation does nothing.
- Specified by:
enterContentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitContent
public void exitContent(XMLParser.ContentContext ctx)
Exit a parse tree produced byXMLParser.content().The default implementation does nothing.
- Specified by:
exitContentin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterElement
public void enterElement(XMLParser.ElementContext ctx)
Enter a parse tree produced byXMLParser.element().The default implementation does nothing.
- Specified by:
enterElementin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitElement
public void exitElement(XMLParser.ElementContext ctx)
Exit a parse tree produced byXMLParser.element().The default implementation does nothing.
- Specified by:
exitElementin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterReference
public void enterReference(XMLParser.ReferenceContext ctx)
Enter a parse tree produced byXMLParser.reference().The default implementation does nothing.
- Specified by:
enterReferencein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitReference
public void exitReference(XMLParser.ReferenceContext ctx)
Exit a parse tree produced byXMLParser.reference().The default implementation does nothing.
- Specified by:
exitReferencein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterAttribute
public void enterAttribute(XMLParser.AttributeContext ctx)
Enter a parse tree produced byXMLParser.attribute().The default implementation does nothing.
- Specified by:
enterAttributein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitAttribute
public void exitAttribute(XMLParser.AttributeContext ctx)
Exit a parse tree produced byXMLParser.attribute().The default implementation does nothing.
- Specified by:
exitAttributein interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterChardata
public void enterChardata(XMLParser.ChardataContext ctx)
Enter a parse tree produced byXMLParser.chardata().The default implementation does nothing.
- Specified by:
enterChardatain interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitChardata
public void exitChardata(XMLParser.ChardataContext ctx)
Exit a parse tree produced byXMLParser.chardata().The default implementation does nothing.
- Specified by:
exitChardatain interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
enterMisc
public void enterMisc(XMLParser.MiscContext ctx)
Enter a parse tree produced byXMLParser.misc().The default implementation does nothing.
- Specified by:
enterMiscin interfaceXMLParserListener- Parameters:
ctx- the parse tree
-
exitMisc
public void exitMisc(XMLParser.MiscContext ctx)
Exit a parse tree produced byXMLParser.misc().The default implementation does nothing.
- Specified by:
exitMiscin 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
-
-