1 // Generated from XMLParser.g4 by ANTLR 4.5.3 2 package android.databinding.parser; 3 4 import org.antlr.v4.runtime.ParserRuleContext; 5 import org.antlr.v4.runtime.tree.ErrorNode; 6 import org.antlr.v4.runtime.tree.TerminalNode; 7 8 /** 9 * This class provides an empty implementation of {@link XMLParserListener}, 10 * which can be extended to create a listener which only needs to handle a subset 11 * of the available methods. 12 */ 13 public class XMLParserBaseListener implements XMLParserListener { 14 /** 15 * {@inheritDoc} 16 * 17 * <p>The default implementation does nothing.</p> 18 */ 19 @Override public void enterDocument(XMLParser.DocumentContext ctx) { } 20 /** 21 * {@inheritDoc} 22 * 23 * <p>The default implementation does nothing.</p> 24 */ 25 @Override public void exitDocument(XMLParser.DocumentContext ctx) { } 26 /** 27 * {@inheritDoc} 28 * 29 * <p>The default implementation does nothing.</p> 30 */ 31 @Override public void enterProlog(XMLParser.PrologContext ctx) { } 32 /** 33 * {@inheritDoc} 34 * 35 * <p>The default implementation does nothing.</p> 36 */ 37 @Override public void exitProlog(XMLParser.PrologContext ctx) { } 38 /** 39 * {@inheritDoc} 40 * 41 * <p>The default implementation does nothing.</p> 42 */ 43 @Override public void enterContent(XMLParser.ContentContext ctx) { } 44 /** 45 * {@inheritDoc} 46 * 47 * <p>The default implementation does nothing.</p> 48 */ 49 @Override public void exitContent(XMLParser.ContentContext ctx) { } 50 /** 51 * {@inheritDoc} 52 * 53 * <p>The default implementation does nothing.</p> 54 */ 55 @Override public void enterElement(XMLParser.ElementContext ctx) { } 56 /** 57 * {@inheritDoc} 58 * 59 * <p>The default implementation does nothing.</p> 60 */ 61 @Override public void exitElement(XMLParser.ElementContext ctx) { } 62 /** 63 * {@inheritDoc} 64 * 65 * <p>The default implementation does nothing.</p> 66 */ 67 @Override public void enterReference(XMLParser.ReferenceContext ctx) { } 68 /** 69 * {@inheritDoc} 70 * 71 * <p>The default implementation does nothing.</p> 72 */ 73 @Override public void exitReference(XMLParser.ReferenceContext ctx) { } 74 /** 75 * {@inheritDoc} 76 * 77 * <p>The default implementation does nothing.</p> 78 */ 79 @Override public void enterAttribute(XMLParser.AttributeContext ctx) { } 80 /** 81 * {@inheritDoc} 82 * 83 * <p>The default implementation does nothing.</p> 84 */ 85 @Override public void exitAttribute(XMLParser.AttributeContext ctx) { } 86 /** 87 * {@inheritDoc} 88 * 89 * <p>The default implementation does nothing.</p> 90 */ 91 @Override public void enterChardata(XMLParser.ChardataContext ctx) { } 92 /** 93 * {@inheritDoc} 94 * 95 * <p>The default implementation does nothing.</p> 96 */ 97 @Override public void exitChardata(XMLParser.ChardataContext ctx) { } 98 /** 99 * {@inheritDoc} 100 * 101 * <p>The default implementation does nothing.</p> 102 */ 103 @Override public void enterMisc(XMLParser.MiscContext ctx) { } 104 /** 105 * {@inheritDoc} 106 * 107 * <p>The default implementation does nothing.</p> 108 */ 109 @Override public void exitMisc(XMLParser.MiscContext ctx) { } 110 111 /** 112 * {@inheritDoc} 113 * 114 * <p>The default implementation does nothing.</p> 115 */ 116 @Override public void enterEveryRule(ParserRuleContext ctx) { } 117 /** 118 * {@inheritDoc} 119 * 120 * <p>The default implementation does nothing.</p> 121 */ 122 @Override public void exitEveryRule(ParserRuleContext ctx) { } 123 /** 124 * {@inheritDoc} 125 * 126 * <p>The default implementation does nothing.</p> 127 */ 128 @Override public void visitTerminal(TerminalNode node) { } 129 /** 130 * {@inheritDoc} 131 * 132 * <p>The default implementation does nothing.</p> 133 */ 134 @Override public void visitErrorNode(ErrorNode node) { } 135 }