Coverage Report - org.mule.module.xml.stax.DelegateXMLStreamReader
 
Classes in this File Line Coverage Branch Coverage Complexity
DelegateXMLStreamReader
0%
0/51
N/A
1
 
 1  
 /*
 2  
  * $Id: DelegateXMLStreamReader.java 20576 2010-12-09 21:37:23Z dzapata $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.module.xml.stax;
 12  
 
 13  
 import javax.xml.namespace.NamespaceContext;
 14  
 import javax.xml.namespace.QName;
 15  
 import javax.xml.stream.Location;
 16  
 import javax.xml.stream.XMLStreamException;
 17  
 import javax.xml.stream.XMLStreamReader;
 18  
 
 19  
 public class DelegateXMLStreamReader implements XMLStreamReader
 20  
 {
 21  
 
 22  
     private XMLStreamReader reader;
 23  
 
 24  
     public DelegateXMLStreamReader(XMLStreamReader reader)
 25  
     {
 26  0
         super();
 27  0
         this.reader = reader;
 28  0
     }
 29  
 
 30  
     public void close() throws XMLStreamException
 31  
     {
 32  0
         reader.close();
 33  0
     }
 34  
 
 35  
     public int getAttributeCount()
 36  
     {
 37  0
         return reader.getAttributeCount();
 38  
     }
 39  
 
 40  
     public String getAttributeLocalName(int arg0)
 41  
     {
 42  0
         return reader.getAttributeLocalName(arg0);
 43  
     }
 44  
 
 45  
     public QName getAttributeName(int arg0)
 46  
     {
 47  0
         return reader.getAttributeName(arg0);
 48  
     }
 49  
 
 50  
     public String getAttributeNamespace(int arg0)
 51  
     {
 52  0
         return reader.getAttributeNamespace(arg0);
 53  
     }
 54  
 
 55  
     public String getAttributePrefix(int arg0)
 56  
     {
 57  0
         return reader.getAttributePrefix(arg0);
 58  
     }
 59  
 
 60  
     public String getAttributeType(int arg0)
 61  
     {
 62  0
         return reader.getAttributeType(arg0);
 63  
     }
 64  
 
 65  
     public String getAttributeValue(int arg0)
 66  
     {
 67  0
         return reader.getAttributeValue(arg0);
 68  
     }
 69  
 
 70  
     public String getAttributeValue(String arg0, String arg1)
 71  
     {
 72  0
         return reader.getAttributeValue(arg0, arg1);
 73  
     }
 74  
 
 75  
     public String getCharacterEncodingScheme()
 76  
     {
 77  0
         return reader.getCharacterEncodingScheme();
 78  
     }
 79  
 
 80  
     public String getElementText() throws XMLStreamException
 81  
     {
 82  0
         return reader.getElementText();
 83  
     }
 84  
 
 85  
     public String getEncoding()
 86  
     {
 87  0
         return reader.getEncoding();
 88  
     }
 89  
 
 90  
     public int getEventType()
 91  
     {
 92  0
         return reader.getEventType();
 93  
     }
 94  
 
 95  
     public String getLocalName()
 96  
     {
 97  0
         return reader.getLocalName();
 98  
     }
 99  
 
 100  
     public Location getLocation()
 101  
     {
 102  0
         return reader.getLocation();
 103  
     }
 104  
 
 105  
     public QName getName()
 106  
     {
 107  0
         return reader.getName();
 108  
     }
 109  
 
 110  
     public NamespaceContext getNamespaceContext()
 111  
     {
 112  0
         return reader.getNamespaceContext();
 113  
     }
 114  
 
 115  
     public int getNamespaceCount()
 116  
     {
 117  0
         return reader.getNamespaceCount();
 118  
     }
 119  
 
 120  
     public String getNamespacePrefix(int arg0)
 121  
     {
 122  0
         return reader.getNamespacePrefix(arg0);
 123  
     }
 124  
 
 125  
     public String getNamespaceURI()
 126  
     {
 127  0
         return reader.getNamespaceURI();
 128  
     }
 129  
 
 130  
     public String getNamespaceURI(int arg0)
 131  
     {
 132  0
         return reader.getNamespaceURI(arg0);
 133  
     }
 134  
 
 135  
     public String getNamespaceURI(String arg0)
 136  
     {
 137  0
         return reader.getNamespaceURI(arg0);
 138  
     }
 139  
 
 140  
     public String getPIData()
 141  
     {
 142  0
         return reader.getPIData();
 143  
     }
 144  
 
 145  
     public String getPITarget()
 146  
     {
 147  0
         return reader.getPITarget();
 148  
     }
 149  
 
 150  
     public String getPrefix()
 151  
     {
 152  0
         return reader.getPrefix();
 153  
     }
 154  
 
 155  
     public Object getProperty(String arg0) throws IllegalArgumentException
 156  
     {
 157  0
         return reader.getProperty(arg0);
 158  
     }
 159  
 
 160  
     public String getText()
 161  
     {
 162  0
         return reader.getText();
 163  
     }
 164  
 
 165  
     public char[] getTextCharacters()
 166  
     {
 167  0
         return reader.getTextCharacters();
 168  
     }
 169  
 
 170  
     public int getTextCharacters(int arg0, char[] arg1, int arg2, int arg3) throws XMLStreamException
 171  
     {
 172  0
         return reader.getTextCharacters(arg0, arg1, arg2, arg3);
 173  
     }
 174  
 
 175  
     public int getTextLength()
 176  
     {
 177  0
         return reader.getTextLength();
 178  
     }
 179  
 
 180  
     public int getTextStart()
 181  
     {
 182  0
         return reader.getTextStart();
 183  
     }
 184  
 
 185  
     public String getVersion()
 186  
     {
 187  0
         return reader.getVersion();
 188  
     }
 189  
 
 190  
     public boolean hasName()
 191  
     {
 192  0
         return reader.hasName();
 193  
     }
 194  
 
 195  
     public boolean hasNext() throws XMLStreamException
 196  
     {
 197  0
         return reader.hasNext();
 198  
     }
 199  
 
 200  
     public boolean hasText()
 201  
     {
 202  0
         return reader.hasText();
 203  
     }
 204  
 
 205  
     public boolean isAttributeSpecified(int arg0)
 206  
     {
 207  0
         return reader.isAttributeSpecified(arg0);
 208  
     }
 209  
 
 210  
     public boolean isCharacters()
 211  
     {
 212  0
         return reader.isCharacters();
 213  
     }
 214  
 
 215  
     public boolean isEndElement()
 216  
     {
 217  0
         return reader.isEndElement();
 218  
     }
 219  
 
 220  
     public boolean isStandalone()
 221  
     {
 222  0
         return reader.isStandalone();
 223  
     }
 224  
 
 225  
     public boolean isStartElement()
 226  
     {
 227  0
         return reader.isStartElement();
 228  
     }
 229  
 
 230  
     public boolean isWhiteSpace()
 231  
     {
 232  0
         return reader.isWhiteSpace();
 233  
     }
 234  
 
 235  
     public int next() throws XMLStreamException
 236  
     {
 237  0
         return reader.next();
 238  
     }
 239  
 
 240  
     public int nextTag() throws XMLStreamException
 241  
     {
 242  0
         return reader.nextTag();
 243  
     }
 244  
 
 245  
     public void require(int arg0, String arg1, String arg2) throws XMLStreamException
 246  
     {
 247  0
         reader.require(arg0, arg1, arg2);
 248  0
     }
 249  
 
 250  
     public boolean standaloneSet()
 251  
     {
 252  0
         return reader.standaloneSet();
 253  
     }
 254  
     
 255  
     public XMLStreamReader getDelegateReader() 
 256  
     {
 257  0
         return reader;
 258  
     }
 259  
 
 260  
 }