Coverage Report - org.jaxen.saxpath.helpers.DefaultXPathHandler

Classes in this Package Line Coverage Branch Coverage Complexity
DefaultXPathHandler
2% 
N/A 
1

 1  
 /*
 2  
  * $Header: /home/projects/jaxen/scm/jaxen/src/java/main/org/jaxen/saxpath/helpers/DefaultXPathHandler.java,v 1.3 2005/05/01 12:22:52 elharo Exp $
 3  
  * $Revision: 1.3 $
 4  
  * $Date: 2005/05/01 12:22:52 $
 5  
  *
 6  
  * ====================================================================
 7  
  *
 8  
  * Copyright (C) 2000-2002 bob mcwhirter & James Strachan.
 9  
  * All rights reserved.
 10  
  *
 11  
  * Redistribution and use in source and binary forms, with or without
 12  
  * modification, are permitted provided that the following conditions
 13  
  * are met:
 14  
  *
 15  
  * 1. Redistributions of source code must retain the above copyright
 16  
  *    notice, this list of conditions, and the following disclaimer.
 17  
  *
 18  
  * 2. Redistributions in binary form must reproduce the above copyright
 19  
  *    notice, this list of conditions, and the disclaimer that follows
 20  
  *    these conditions in the documentation and/or other materials
 21  
  *    provided with the distribution.
 22  
  *
 23  
  * 3. The name "Jaxen" must not be used to endorse or promote products
 24  
  *    derived from this software without prior written permission.  For
 25  
  *    written permission, please contact license@jaxen.org.
 26  
  *
 27  
  * 4. Products derived from this software may not be called "Jaxen", nor
 28  
  *    may "Jaxen" appear in their name, without prior written permission
 29  
  *    from the Jaxen Project Management (pm@jaxen.org).
 30  
  *
 31  
  * In addition, we request (but do not require) that you include in the
 32  
  * end-user documentation provided with the redistribution and/or in the
 33  
  * software itself an acknowledgement equivalent to the following:
 34  
  *     "This product includes software developed by the
 35  
  *      Jaxen Project (http://www.jaxen.org/)."
 36  
  * Alternatively, the acknowledgment may be graphical using the logos
 37  
  * available at http://www.jaxen.org/
 38  
  *
 39  
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 40  
  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 41  
  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 42  
  * DISCLAIMED.  IN NO EVENT SHALL THE Jaxen AUTHORS OR THE PROJECT
 43  
  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 44  
  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 45  
  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 46  
  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 47  
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 48  
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 49  
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 50  
  * SUCH DAMAGE.
 51  
  *
 52  
  * ====================================================================
 53  
  * This software consists of voluntary contributions made by many
 54  
  * individuals on behalf of the Jaxen Project and was originally
 55  
  * created by bob mcwhirter <bob@werken.com> and
 56  
  * James Strachan <jstrachan@apache.org>.  For more information on the
 57  
  * Jaxen Project, please see <http://www.jaxen.org/>.
 58  
  *
 59  
  * $Id: DefaultXPathHandler.java,v 1.3 2005/05/01 12:22:52 elharo Exp $
 60  
  */
 61  
 
 62  
 
 63  
 
 64  
 
 65  
 package org.jaxen.saxpath.helpers;
 66  
 
 67  
 import org.jaxen.saxpath.XPathHandler;
 68  
 
 69  
 /**
 70  
 
 71  
    Default base class for SAXPath event handlers. 
 72  
 
 73  
    This class is available as a convenience base class for SAXPath
 74  
    applications: it provides a default implementation for all of the
 75  
    callbacks in the core SAXPath handler class, {@link
 76  
    org.jaxen.saxpath.XPathHandler}
 77  
 
 78  
    Application writers can extend this class when they need to
 79  
    implement only part of an interface; parser writers can instantiate
 80  
    this class to provide default handlers when the application has not
 81  
    supplied its own. */
 82  
 
 83  45
 public class DefaultXPathHandler implements XPathHandler
 84  
 {
 85  
 
 86  
     public void startXPath() throws org.jaxen.saxpath.SAXPathException
 87  
     {
 88  0
     }
 89  
 
 90  
     public void endXPath() throws org.jaxen.saxpath.SAXPathException
 91  
     {
 92  0
     }
 93  
 
 94  
     public void startPathExpr() throws org.jaxen.saxpath.SAXPathException
 95  
     {
 96  0
     }
 97  
 
 98  
     public void endPathExpr() throws org.jaxen.saxpath.SAXPathException
 99  
     {
 100  0
     }
 101  
 
 102  
     public void startAbsoluteLocationPath() throws org.jaxen.saxpath.SAXPathException
 103  
     {
 104  0
     }
 105  
 
 106  
     public void endAbsoluteLocationPath() throws org.jaxen.saxpath.SAXPathException
 107  
     {
 108  0
     }
 109  
 
 110  
     public void startRelativeLocationPath() throws org.jaxen.saxpath.SAXPathException
 111  
     {
 112  0
     }
 113  
 
 114  
     public void endRelativeLocationPath() throws org.jaxen.saxpath.SAXPathException
 115  
     {
 116  0
     }
 117  
 
 118  
     public void startNameStep(int axis,
 119  
                               String prefix,
 120  
                               String localName) throws org.jaxen.saxpath.SAXPathException
 121  
     {
 122  0
     }
 123  
 
 124  
     public void endNameStep() throws org.jaxen.saxpath.SAXPathException
 125  
     {
 126  0
     }
 127  
 
 128  
     public void startTextNodeStep(int axis) throws org.jaxen.saxpath.SAXPathException
 129  
     {
 130  0
     }
 131  
     public void endTextNodeStep() throws org.jaxen.saxpath.SAXPathException
 132  
     {
 133  0
     }
 134  
 
 135  
     public void startCommentNodeStep(int axis) throws org.jaxen.saxpath.SAXPathException
 136  
     {
 137  0
     }
 138  
 
 139  
     public void endCommentNodeStep() throws org.jaxen.saxpath.SAXPathException
 140  
     {
 141  0
     }
 142  
 
 143  
     public void startAllNodeStep(int axis) throws org.jaxen.saxpath.SAXPathException
 144  
     {
 145  0
     }
 146  
 
 147  
     public void endAllNodeStep() throws org.jaxen.saxpath.SAXPathException
 148  
     {
 149  0
     }
 150  
 
 151  
     public void startProcessingInstructionNodeStep(int axis,
 152  
                                                    String name) throws org.jaxen.saxpath.SAXPathException
 153  
     {
 154  0
     }
 155  
     public void endProcessingInstructionNodeStep() throws org.jaxen.saxpath.SAXPathException
 156  
     {
 157  0
     }
 158  
 
 159  
     public void startPredicate() throws org.jaxen.saxpath.SAXPathException
 160  
     {
 161  0
     }
 162  
 
 163  
     public void endPredicate() throws org.jaxen.saxpath.SAXPathException
 164  
     {
 165  0
     }
 166  
 
 167  
     public void startFilterExpr() throws org.jaxen.saxpath.SAXPathException
 168  
     {
 169  0
     }
 170  
 
 171  
     public void endFilterExpr() throws org.jaxen.saxpath.SAXPathException
 172  
     {
 173  0
     }
 174  
 
 175  
     public void startOrExpr() throws org.jaxen.saxpath.SAXPathException
 176  
     {
 177  0
     }
 178  
 
 179  
     public void endOrExpr(boolean create) throws org.jaxen.saxpath.SAXPathException
 180  
     {
 181  0
     }
 182  
 
 183  
     public void startAndExpr() throws org.jaxen.saxpath.SAXPathException
 184  
     {
 185  0
     }
 186  
 
 187  
     public void endAndExpr(boolean create) throws org.jaxen.saxpath.SAXPathException
 188  
     {
 189  0
     }
 190  
 
 191  
     public void startEqualityExpr() throws org.jaxen.saxpath.SAXPathException
 192  
     {
 193  0
     }
 194  
 
 195  
     public void endEqualityExpr(int operator) throws org.jaxen.saxpath.SAXPathException
 196  
     {
 197  0
     }
 198  
 
 199  
     public void startRelationalExpr() throws org.jaxen.saxpath.SAXPathException
 200  
     {
 201  0
     }
 202  
 
 203  
     public void endRelationalExpr(int operator) throws org.jaxen.saxpath.SAXPathException
 204  
     {
 205  0
     }
 206  
 
 207  
     public void startAdditiveExpr() throws org.jaxen.saxpath.SAXPathException
 208  
     {
 209  0
     }
 210  
 
 211  
     public void endAdditiveExpr(int operator) throws org.jaxen.saxpath.SAXPathException
 212  
     {
 213  0
     }
 214  
 
 215  
     public void startMultiplicativeExpr() throws org.jaxen.saxpath.SAXPathException
 216  
     {
 217  0
     }
 218  
 
 219  
     public void endMultiplicativeExpr(int operator) throws org.jaxen.saxpath.SAXPathException
 220  
     {
 221  0
     }
 222  
 
 223  
     public void startUnaryExpr() throws org.jaxen.saxpath.SAXPathException
 224  
     {
 225  0
     }
 226  
 
 227  
     public void endUnaryExpr(int operator) throws org.jaxen.saxpath.SAXPathException
 228  
     {
 229  0
     }
 230  
 
 231  
     public void startUnionExpr() throws org.jaxen.saxpath.SAXPathException
 232  
     {
 233  0
     }
 234  
 
 235  
     public void endUnionExpr(boolean create) throws org.jaxen.saxpath.SAXPathException
 236  
     {
 237  0
     }
 238  
 
 239  
     public void number(int number) throws org.jaxen.saxpath.SAXPathException
 240  
     {
 241  0
     }
 242  
 
 243  
     public void number(double number) throws org.jaxen.saxpath.SAXPathException
 244  
     {
 245  0
     }
 246  
 
 247  
     public void literal(String literal) throws org.jaxen.saxpath.SAXPathException
 248  
     {
 249  0
     }
 250  
 
 251  
     public void variableReference(String prefix,
 252  
                                   String variableName) throws org.jaxen.saxpath.SAXPathException
 253  
     {
 254  0
     }
 255  
 
 256  
     public void startFunction(String prefix,
 257  
                               String functionName) throws org.jaxen.saxpath.SAXPathException
 258  
     {
 259  0
     }
 260  
 
 261  
     public void endFunction() throws org.jaxen.saxpath.SAXPathException
 262  
     {
 263  0
     }
 264  
 
 265  
 }