Clover coverage report - Code Coverage for hivemind release 1.0-beta-1
Coverage timestamp: Sat Jul 3 2004 09:41:37 EDT
file stats: LOC: 54   Methods: 0
NCLOC: 9   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
ElementModel.java - - - -
coverage
 1   
 //  Copyright 2004 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.hivemind.schema;
 16   
 
 17   
 import java.util.List;
 18   
 
 19   
 
 20   
 /**
 21   
  * Identifies an element that may occur within some schema.  Because elements
 22   
  * may be nested, an ElementModel is also a {@link org.apache.hivemind.schema.Schema}.
 23   
  *
 24   
  * @author Howard Lewis Ship
 25   
  */
 26   
 public interface ElementModel extends Schema
 27   
 {
 28   
     /**
 29   
      * Returns the name of the element.
 30   
      */
 31   
     public String getElementName();
 32   
     
 33   
     /**
 34   
      * Returns a List of {@link AttributeModel}s.  The List is unmodifiable and won't be null,
 35   
      * but may be empty.
 36   
      */
 37   
     public List getAttributeModels();
 38   
     
 39   
     /**
 40   
      * Returns a List of {@link org.apache.hivemind.schema.Rule}.
 41   
      * The List is unmodifiable and won't but null, but could be empty.
 42   
      */
 43   
     
 44   
     public List getRules();
 45   
     
 46   
     /**
 47   
      * Returns the translator used for character content within the body of the element; may
 48   
      * return null.
 49   
      */
 50   
     
 51   
     public String getContentTranslator();
 52   
     
 53   
 }
 54