Clover coverage report - ActiveSOAP - 1.0-SNAPSHOT
Coverage timestamp: Wed May 18 2005 17:30:15 BST
file stats: LOC: 165   Methods: 33
NCLOC: 106   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
DelegateXMLStreamWriter.java - 36.4% 36.4% 36.4%
coverage coverage
 1   
 /** 
 2   
  * 
 3   
  * Copyright 2004 Protique Ltd
 4   
  * 
 5   
  * Licensed under the Apache License, Version 2.0 (the "License"); 
 6   
  * you may not use this file except in compliance with the License. 
 7   
  * You may obtain a copy of the License at 
 8   
  * 
 9   
  * http://www.apache.org/licenses/LICENSE-2.0
 10   
  * 
 11   
  * Unless required by applicable law or agreed to in writing, software
 12   
  * distributed under the License is distributed on an "AS IS" BASIS, 
 13   
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 14   
  * See the License for the specific language governing permissions and 
 15   
  * limitations under the License. 
 16   
  * 
 17   
  **/
 18   
 package org.codehaus.activesoap.util;
 19   
 
 20   
 import javax.xml.namespace.NamespaceContext;
 21   
 import javax.xml.stream.XMLStreamException;
 22   
 import javax.xml.stream.XMLStreamWriter;
 23   
 
 24   
 /**
 25   
  * A Delegate implementation of {@link XMLStreamWriter} which delegates
 26   
  * all the methods to a child instance - useful for implementing filters.
 27   
  *
 28   
  * @version $Revision: 1.1 $
 29   
  */
 30   
 public abstract class DelegateXMLStreamWriter implements XMLStreamWriter {
 31   
     private XMLStreamWriter delegate;
 32   
 
 33  32
     public DelegateXMLStreamWriter(XMLStreamWriter delegate) {
 34  32
         this.delegate = delegate;
 35   
     }
 36   
 
 37  0
     public void close() throws XMLStreamException {
 38  0
         delegate.close();
 39   
     }
 40   
 
 41  0
     public void flush() throws XMLStreamException {
 42  0
         delegate.flush();
 43   
     }
 44   
 
 45  43
     public NamespaceContext getNamespaceContext() {
 46  43
         return delegate.getNamespaceContext();
 47   
     }
 48   
 
 49  0
     public String getPrefix(String s) throws XMLStreamException {
 50  0
         return delegate.getPrefix(s);
 51   
     }
 52   
 
 53  0
     public Object getProperty(String s) throws IllegalArgumentException {
 54  0
         return delegate.getProperty(s);
 55   
     }
 56   
 
 57  22
     public void setDefaultNamespace(String s) throws XMLStreamException {
 58  22
         delegate.setDefaultNamespace(s);
 59   
     }
 60   
 
 61  0
     public void setNamespaceContext(NamespaceContext namespaceContext) throws XMLStreamException {
 62  0
         delegate.setNamespaceContext(namespaceContext);
 63   
     }
 64   
 
 65  23
     public void setPrefix(String s, String s1) throws XMLStreamException {
 66  23
         delegate.setPrefix(s, s1);
 67   
     }
 68   
 
 69  0
     public void writeAttribute(String s, String s1) throws XMLStreamException {
 70  0
         delegate.writeAttribute(s, s1);
 71   
     }
 72   
 
 73  0
     public void writeAttribute(String s, String s1, String s2) throws XMLStreamException {
 74  0
         delegate.writeAttribute(s, s1, s2);
 75   
     }
 76   
 
 77  1
     public void writeAttribute(String s, String s1, String s2, String s3) throws XMLStreamException {
 78  1
         delegate.writeAttribute(s, s1, s2, s3);
 79   
     }
 80   
 
 81  0
     public void writeCData(String s) throws XMLStreamException {
 82  0
         delegate.writeCData(s);
 83   
     }
 84   
 
 85  0
     public void writeCharacters(char[] chars, int i, int i1) throws XMLStreamException {
 86  0
         delegate.writeCharacters(chars, i, i1);
 87   
     }
 88   
 
 89  59
     public void writeCharacters(String s) throws XMLStreamException {
 90  59
         delegate.writeCharacters(s);
 91   
     }
 92   
 
 93  0
     public void writeComment(String s) throws XMLStreamException {
 94  0
         delegate.writeComment(s);
 95   
     }
 96   
 
 97  21
     public void writeDefaultNamespace(String s) throws XMLStreamException {
 98  21
         delegate.writeDefaultNamespace(s);
 99   
     }
 100   
 
 101  0
     public void writeDTD(String s) throws XMLStreamException {
 102  0
         delegate.writeDTD(s);
 103   
     }
 104   
 
 105  0
     public void writeEmptyElement(String s) throws XMLStreamException {
 106  0
         delegate.writeEmptyElement(s);
 107   
     }
 108   
 
 109  0
     public void writeEmptyElement(String s, String s1) throws XMLStreamException {
 110  0
         delegate.writeEmptyElement(s, s1);
 111   
     }
 112   
 
 113  0
     public void writeEmptyElement(String s, String s1, String s2) throws XMLStreamException {
 114  0
         delegate.writeEmptyElement(s, s1, s2);
 115   
     }
 116   
 
 117  0
     public void writeEndDocument() throws XMLStreamException {
 118  0
         delegate.writeEndDocument();
 119   
     }
 120   
 
 121  59
     public void writeEndElement() throws XMLStreamException {
 122  59
         delegate.writeEndElement();
 123   
     }
 124   
 
 125  0
     public void writeEntityRef(String s) throws XMLStreamException {
 126  0
         delegate.writeEntityRef(s);
 127   
     }
 128   
 
 129  23
     public void writeNamespace(String s, String s1) throws XMLStreamException {
 130  23
         delegate.writeNamespace(s, s1);
 131   
     }
 132   
 
 133  0
     public void writeProcessingInstruction(String s) throws XMLStreamException {
 134  0
         delegate.writeProcessingInstruction(s);
 135   
     }
 136   
 
 137  0
     public void writeProcessingInstruction(String s, String s1) throws XMLStreamException {
 138  0
         delegate.writeProcessingInstruction(s, s1);
 139   
     }
 140   
 
 141  0
     public void writeStartDocument() throws XMLStreamException {
 142  0
         delegate.writeStartDocument();
 143   
     }
 144   
 
 145  0
     public void writeStartDocument(String s) throws XMLStreamException {
 146  0
         delegate.writeStartDocument(s);
 147   
     }
 148   
 
 149  0
     public void writeStartDocument(String s, String s1) throws XMLStreamException {
 150  0
         delegate.writeStartDocument(s, s1);
 151   
     }
 152   
 
 153  1
     public void writeStartElement(String s) throws XMLStreamException {
 154  1
         delegate.writeStartElement(s);
 155   
     }
 156   
 
 157  22
     public void writeStartElement(String s, String s1) throws XMLStreamException {
 158  22
         delegate.writeStartElement(s, s1);
 159   
     }
 160   
 
 161  36
     public void writeStartElement(String s, String s1, String s2) throws XMLStreamException {
 162  36
         delegate.writeStartElement(s, s1, s2);
 163   
     }
 164   
 }
 165