Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 50   Methods: 8
NCLOC: 33   Classes: 1
This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover.
 
 Source file Conditionals Statements Methods TOTAL
ResourceLocation.java - 0% 0% 0%
 1   
 /*
 2   
  * JBind
 3   
  *
 4   
  * Copyright (c) by Stefan Wachter. All rights reserved.
 5   
  *
 6   
  * Usage, modification, and redistribution is subject to license terms that are
 7   
  * available at 'http://www.jbind.org'. The JBind license is like the
 8   
  * 'Apache Software License V 1.1'.
 9   
  */
 10   
 package org.jbind.xml.base;
 11   
 
 12   
 import java.net.URL;
 13   
 
 14   
 public class ResourceLocation implements ILocation {
 15   
 
 16   
   private IResourceIdentifier myIdentifier;
 17   
   private int myRowNumber;
 18   
   private int myColumnNumber;
 19   
 
 20  0
   public ResourceLocation(IResourceIdentifier anIdentifier, int aRowNumber, int aColumnNumber) {
 21  0
     myIdentifier = anIdentifier;
 22  0
     myRowNumber = aRowNumber;
 23  0
     myColumnNumber = aColumnNumber;
 24   
   }
 25   
 
 26  0
   public URL getBaseSystemId() {
 27  0
     return myIdentifier.getBaseSystemId();
 28   
   }
 29  0
   public URL getExpandedSystemId() {
 30  0
     return myIdentifier.getExpandedSystemId();
 31   
   }
 32  0
   public String getLiteralSystemId() {
 33  0
     return myIdentifier.getLiteralSystemId();
 34   
   }
 35  0
   public String getPublicId() {
 36  0
     return myIdentifier.getPublicId();
 37   
   }
 38   
 
 39  0
   public int getLineNumber() {
 40  0
     return myRowNumber;
 41   
   }
 42  0
   public int getColumnNumber() {
 43  0
     return myColumnNumber;
 44   
   }
 45   
 
 46  0
   public ILocation getLocation() {
 47  0
     return this;
 48   
   }
 49   
 }
 50