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