Clover coverage report - Code Coverage for tapestry release 4.0-alpha-3
Coverage timestamp: Mon May 16 2005 09:05:49 EDT
file stats: LOC: 51   Methods: 0
NCLOC: 12   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
ISpecificationParser.java - - - -
coverage
 1   
 // Copyright 2004, 2005 The Apache Software Foundation
 2   
 //
 3   
 // Licensed under the Apache License, Version 2.0 (the "License");
 4   
 // you may not use this file except in compliance with the License.
 5   
 // You may obtain a copy of the License at
 6   
 //
 7   
 //     http://www.apache.org/licenses/LICENSE-2.0
 8   
 //
 9   
 // Unless required by applicable law or agreed to in writing, software
 10   
 // distributed under the License is distributed on an "AS IS" BASIS,
 11   
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12   
 // See the License for the specific language governing permissions and
 13   
 // limitations under the License.
 14   
 
 15   
 package org.apache.tapestry.parse;
 16   
 
 17   
 import org.apache.hivemind.Resource;
 18   
 import org.apache.tapestry.spec.IApplicationSpecification;
 19   
 import org.apache.tapestry.spec.IComponentSpecification;
 20   
 import org.apache.tapestry.spec.ILibrarySpecification;
 21   
 
 22   
 /**
 23   
  * Service interface for a wrapper around the class
 24   
  * {@link org.apache.tapestry.parse.SpecificationParser}.
 25   
  * Because the implementation of {@link org.apache.tapestry.parse.SpecificationParser}
 26   
  * is not threadsafe, the implementation of this
 27   
  * service uses the pooled service model.
 28   
  *
 29   
  * <p>
 30   
  * Note: had to use the 'I' prefix, so that {@link org.apache.tapestry.parse.SpecificationParser}
 31   
  * could keep its name. Otherwise, it makes Spindle support really, really ugly.
 32   
  * 
 33   
  * @author Howard Lewis Ship
 34   
  * @since 4.0
 35   
  */
 36   
 public interface ISpecificationParser
 37   
 {
 38   
     /**
 39   
      * Parses an application specification from the provided Resource.
 40   
      * 
 41   
      * @throws org.apache.hivemind.ApplicationRuntimeException on any error.
 42   
      */
 43   
     public IApplicationSpecification parseApplicationSpecification(Resource resource);
 44   
 
 45   
     public IComponentSpecification parseComponentSpecification(Resource resource);
 46   
 
 47   
     public ILibrarySpecification parseLibrarySpecification(Resource resource);
 48   
 
 49   
     public IComponentSpecification parsePageSpecification(Resource resource);
 50   
 }
 51