Clover coverage report - Apache Addressing - 1.0
Coverage timestamp: Tue Mar 22 2005 07:59:24 EST
file stats: LOC: 68   Methods: 3
NCLOC: 19   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
Action.java - 100% 100% 100%
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.SOAPEnvelope;
 23   
 import javax.xml.soap.SOAPHeaderElement;
 24   
 
 25   
 import org.w3c.dom.Element;
 26   
 
 27   
 /**
 28   
  * Java content class for Action element declaration.
 29   
  * <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 79)
 30   
  * <p>
 31   
  * <pre>
 32   
  * &lt;element name="Action" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}AttributedURI"/>
 33   
  * </pre>
 34   
  * 
 35   
  * @author Davanum Srinivas (dims@yahoo.com)
 36   
  */
 37   
 public class Action extends AttributedURI {
 38   
 
 39   
     /**
 40   
      * Constructor Action
 41   
      * 
 42   
      * @param uri 
 43   
      */
 44  17
     public Action(URI uri) {
 45  17
         super(uri);
 46   
     }
 47   
 
 48   
     /**
 49   
      * Constructor Action
 50   
      * 
 51   
      * @param el 
 52   
      * @throws Exception 
 53   
      */
 54  22
     public Action(SOAPHeaderElement el) 
 55   
         throws Exception {
 56  22
         super(el);
 57   
     }
 58   
 
 59  16
     public SOAPHeaderElement toSOAPHeaderElement(SOAPEnvelope env,
 60   
                                                  String actorURI) 
 61   
         throws Exception {
 62  16
         return toSOAPHeaderElement(env, actorURI, Constants.ACTION);
 63   
     }
 64   
     
 65   
 }
 66   
 
 67   
 
 68