org.apache.maven.jxr.pacman
Class ImportType

java.lang.Object
  extended by org.apache.maven.jxr.pacman.BaseType
      extended by org.apache.maven.jxr.pacman.ImportType

public class ImportType
extends BaseType

Represents an entry in a java "import" statement


Constructor Summary
ImportType(String name)
          Create a new ImportType with the specified name
 
Method Summary
 String getPackage()
          Get the name of the package that this import is based on: EX: test.* will return "test" EX: test.Test will return "test"
 boolean isClass()
          Return true if this is a class import.
 boolean isPackage()
          Return true if this is a package import.
 
Methods inherited from class org.apache.maven.jxr.pacman.BaseType
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportType

public ImportType(String name)
Create a new ImportType with the specified name

Parameters:
name -
Method Detail

isClass

public boolean isClass()
Return true if this is a class import. Ex: test.Test


isPackage

public boolean isPackage()
Return true if this is a package import. Ex: test.*


getPackage

public String getPackage()
Get the name of the package that this import is based on: EX: test.* will return "test" EX: test.Test will return "test"



Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.