android.databinding.parser
Class XMLParserBaseListener

java.lang.Object
  extended by 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 of XMLParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.


Constructor Summary
XMLParserBaseListener()
           
 
Method Summary
 void enterAttribute(XMLParser.AttributeContext ctx)
          Enter a parse tree produced by XMLParser.attribute().
 void enterChardata(XMLParser.ChardataContext ctx)
          Enter a parse tree produced by XMLParser.chardata().
 void enterContent(XMLParser.ContentContext ctx)
          Enter a parse tree produced by XMLParser.content().
 void enterDocument(XMLParser.DocumentContext ctx)
          Enter a parse tree produced by XMLParser.document().
 void enterElement(XMLParser.ElementContext ctx)
          Enter a parse tree produced by XMLParser.element().
 void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
          
 void enterMisc(XMLParser.MiscContext ctx)
          Enter a parse tree produced by XMLParser.misc().
 void enterProlog(XMLParser.PrologContext ctx)
          Enter a parse tree produced by XMLParser.prolog().
 void enterReference(XMLParser.ReferenceContext ctx)
          Enter a parse tree produced by XMLParser.reference().
 void exitAttribute(XMLParser.AttributeContext ctx)
          Exit a parse tree produced by XMLParser.attribute().
 void exitChardata(XMLParser.ChardataContext ctx)
          Exit a parse tree produced by XMLParser.chardata().
 void exitContent(XMLParser.ContentContext ctx)
          Exit a parse tree produced by XMLParser.content().
 void exitDocument(XMLParser.DocumentContext ctx)
          Exit a parse tree produced by XMLParser.document().
 void exitElement(XMLParser.ElementContext ctx)
          Exit a parse tree produced by XMLParser.element().
 void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
          
 void exitMisc(XMLParser.MiscContext ctx)
          Exit a parse tree produced by XMLParser.misc().
 void exitProlog(XMLParser.PrologContext ctx)
          Exit a parse tree produced by XMLParser.prolog().
 void exitReference(XMLParser.ReferenceContext ctx)
          Exit a parse tree produced by XMLParser.reference().
 void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
          
 void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLParserBaseListener

public XMLParserBaseListener()
Method Detail

enterContent

public void enterContent(@NotNull
                         XMLParser.ContentContext ctx)
Enter a parse tree produced by XMLParser.content().

The default implementation does nothing.

Specified by:
enterContent in interface XMLParserListener
Parameters:
ctx - the parse tree

exitContent

public void exitContent(@NotNull
                        XMLParser.ContentContext ctx)
Exit a parse tree produced by XMLParser.content().

The default implementation does nothing.

Specified by:
exitContent in interface XMLParserListener
Parameters:
ctx - the parse tree

enterElement

public void enterElement(@NotNull
                         XMLParser.ElementContext ctx)
Enter a parse tree produced by XMLParser.element().

The default implementation does nothing.

Specified by:
enterElement in interface XMLParserListener
Parameters:
ctx - the parse tree

exitElement

public void exitElement(@NotNull
                        XMLParser.ElementContext ctx)
Exit a parse tree produced by XMLParser.element().

The default implementation does nothing.

Specified by:
exitElement in interface XMLParserListener
Parameters:
ctx - the parse tree

enterProlog

public void enterProlog(@NotNull
                        XMLParser.PrologContext ctx)
Enter a parse tree produced by XMLParser.prolog().

The default implementation does nothing.

Specified by:
enterProlog in interface XMLParserListener
Parameters:
ctx - the parse tree

exitProlog

public void exitProlog(@NotNull
                       XMLParser.PrologContext ctx)
Exit a parse tree produced by XMLParser.prolog().

The default implementation does nothing.

Specified by:
exitProlog in interface XMLParserListener
Parameters:
ctx - the parse tree

enterDocument

public void enterDocument(@NotNull
                          XMLParser.DocumentContext ctx)
Enter a parse tree produced by XMLParser.document().

The default implementation does nothing.

Specified by:
enterDocument in interface XMLParserListener
Parameters:
ctx - the parse tree

exitDocument

public void exitDocument(@NotNull
                         XMLParser.DocumentContext ctx)
Exit a parse tree produced by XMLParser.document().

The default implementation does nothing.

Specified by:
exitDocument in interface XMLParserListener
Parameters:
ctx - the parse tree

enterAttribute

public void enterAttribute(@NotNull
                           XMLParser.AttributeContext ctx)
Enter a parse tree produced by XMLParser.attribute().

The default implementation does nothing.

Specified by:
enterAttribute in interface XMLParserListener
Parameters:
ctx - the parse tree

exitAttribute

public void exitAttribute(@NotNull
                          XMLParser.AttributeContext ctx)
Exit a parse tree produced by XMLParser.attribute().

The default implementation does nothing.

Specified by:
exitAttribute in interface XMLParserListener
Parameters:
ctx - the parse tree

enterChardata

public void enterChardata(@NotNull
                          XMLParser.ChardataContext ctx)
Enter a parse tree produced by XMLParser.chardata().

The default implementation does nothing.

Specified by:
enterChardata in interface XMLParserListener
Parameters:
ctx - the parse tree

exitChardata

public void exitChardata(@NotNull
                         XMLParser.ChardataContext ctx)
Exit a parse tree produced by XMLParser.chardata().

The default implementation does nothing.

Specified by:
exitChardata in interface XMLParserListener
Parameters:
ctx - the parse tree

enterReference

public void enterReference(@NotNull
                           XMLParser.ReferenceContext ctx)
Enter a parse tree produced by XMLParser.reference().

The default implementation does nothing.

Specified by:
enterReference in interface XMLParserListener
Parameters:
ctx - the parse tree

exitReference

public void exitReference(@NotNull
                          XMLParser.ReferenceContext ctx)
Exit a parse tree produced by XMLParser.reference().

The default implementation does nothing.

Specified by:
exitReference in interface XMLParserListener
Parameters:
ctx - the parse tree

enterMisc

public void enterMisc(@NotNull
                      XMLParser.MiscContext ctx)
Enter a parse tree produced by XMLParser.misc().

The default implementation does nothing.

Specified by:
enterMisc in interface XMLParserListener
Parameters:
ctx - the parse tree

exitMisc

public void exitMisc(@NotNull
                     XMLParser.MiscContext ctx)
Exit a parse tree produced by XMLParser.misc().

The default implementation does nothing.

Specified by:
exitMisc in interface XMLParserListener
Parameters:
ctx - the parse tree

enterEveryRule

public void enterEveryRule(@NotNull
                           org.antlr.v4.runtime.ParserRuleContext ctx)

The default implementation does nothing.

Specified by:
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListener

exitEveryRule

public void exitEveryRule(@NotNull
                          org.antlr.v4.runtime.ParserRuleContext ctx)

The default implementation does nothing.

Specified by:
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListener

visitTerminal

public void visitTerminal(@NotNull
                          org.antlr.v4.runtime.tree.TerminalNode node)

The default implementation does nothing.

Specified by:
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListener

visitErrorNode

public void visitErrorNode(@NotNull
                           org.antlr.v4.runtime.tree.ErrorNode node)

The default implementation does nothing.

Specified by:
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListener