Clover coverage report - Apache Addressing - 1.0
Coverage timestamp: Tue Mar 22 2005 07:59:24 EST
file stats: LOC: 95   Methods: 6
NCLOC: 29   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
ReplyTo.java - 50% 50% 50%
coverage coverage
 1   
 /*
 2   
  * Copyright  1999-2004 The Apache Software Foundation.
 3   
  *
 4   
  *  Licensed under the Apache License, Version 2.0 (the "License");
 5   
  *  you may not use this file except in compliance with the License.
 6   
  *  You may obtain a copy of the License at
 7   
  *
 8   
  *      http://www.apache.org/licenses/LICENSE-2.0
 9   
  *
 10   
  *  Unless required by applicable law or agreed to in writing, software
 11   
  *  distributed under the License is distributed on an "AS IS" BASIS,
 12   
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13   
  *  See the License for the specific language governing permissions and
 14   
  *  limitations under the License.
 15   
  *
 16   
  */
 17   
 
 18   
 package org.apache.axis.message.addressing;
 19   
 
 20   
 import org.apache.axis.types.URI;
 21   
 
 22   
 import javax.xml.soap.SOAPHeaderElement;
 23   
 import javax.xml.soap.SOAPEnvelope;
 24   
 
 25   
 import org.w3c.dom.Document;
 26   
 import org.w3c.dom.Element;
 27   
 
 28   
 /**
 29   
  * Java content class for ReplyTo element declaration.
 30   
  * <p>The following schema fragment specifies the expected content contained within this java content object. (defined at http://schemas.xmlsoap.org/ws/2004/08/addressing line 81)
 31   
  * <p>
 32   
  * <pre>
 33   
  * &lt;element name="ReplyTo" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}EndpointReferenceType"/>
 34   
  * </pre>
 35   
  * 
 36   
  * @author Davanum Srinivas (dims@yahoo.com)
 37   
  */
 38   
 public class ReplyTo extends EndpointReference {
 39   
     /**
 40   
      * Constructor ReplyTo
 41   
      * 
 42   
      * @param address 
 43   
      */
 44  1
     public ReplyTo(Address address) {
 45  1
         super(address);
 46   
     }
 47   
 
 48   
     /**
 49   
      * Constructor ReplyTo
 50   
      * 
 51   
      * @param address 
 52   
      */
 53  0
     public ReplyTo(URI address) {
 54  0
         super(address);
 55   
     }
 56   
 
 57   
     /**
 58   
      * Constructor ReplyTo
 59   
      * 
 60   
      * @param endpoint 
 61   
      */
 62  0
     public ReplyTo(EndpointReferenceType endpoint) {
 63  0
         super(endpoint);
 64   
     }
 65   
 
 66   
     /**
 67   
      * Constructor ReplyTo
 68   
      * 
 69   
      * @param element
 70   
      * @throws Exception 
 71   
      */
 72  8
     public ReplyTo(SOAPHeaderElement element)
 73   
         throws Exception {
 74  8
         super(element);
 75   
     }
 76   
 
 77  2
     public SOAPHeaderElement toSOAPHeaderElement(SOAPEnvelope env,
 78   
                                                  String actorURI) 
 79   
         throws Exception {
 80  2
         return toSOAPHeaderElement(env, actorURI, Constants.REPLY_TO);
 81   
     }
 82   
 
 83   
     /**
 84   
      * Method toDOM.
 85   
      * 
 86   
      * @param doc 
 87   
      */
 88  0
     public Element toDOM(Document doc) {
 89  0
         return toDOM(doc, Constants.REPLY_TO);
 90   
     }
 91   
     
 92   
 }
 93   
 
 94   
 
 95