1   /*
2    * Copyright (C) The MetaClass Group. All rights reserved.
3    *
4    * This software is published under the terms of the Spice
5    * Software License version 1.1, a copy of which has been included
6    * with this distribution in the LICENSE.txt file.
7    */
8   package org.codehaus.metaclass.tools.qdox;
9   
10  import com.thoughtworks.qdox.model.ClassLibrary;
11  import com.thoughtworks.qdox.model.JavaClass;
12  import com.thoughtworks.qdox.model.JavaClassParent;
13  import com.thoughtworks.qdox.model.JavaSource;
14  
15  /***
16   * @author Peter Donald
17   * @version $Revision: 1.5 $ $Date: 2003/11/28 11:14:55 $
18   */
19  class MockPackage
20      implements JavaClassParent
21  {
22      public String asClassNamespace()
23      {
24          return "com.biz";
25      }
26  
27      public JavaSource getParentSource()
28      {
29          return null;
30      }
31  
32      public void addClass( final JavaClass javaClass )
33      {
34      }
35  
36      public JavaClass[] getClasses()
37      {
38          return new JavaClass[ 0 ];
39      }
40  
41      public String resolveType( String typeName )
42      {
43          return null;
44      }
45  
46      public ClassLibrary getClassLibrary()
47      {
48          return null;
49      }
50  }