com.sun.tools.xjc.model
Class CClassInfoParent.Package

java.lang.Object
  extended by com.sun.tools.xjc.model.CClassInfoParent.Package
All Implemented Interfaces:
CClassInfoParent
Enclosing interface:
CClassInfoParent

public static final class CClassInfoParent.Package
extends Object
implements CClassInfoParent

JPackage as a CClassInfoParent. Use Model.getPackage(com.sun.codemodel.JPackage) to obtain an instance.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.tools.xjc.model.CClassInfoParent
CClassInfoParent.Package, CClassInfoParent.Visitor<T>
 
Field Summary
 com.sun.codemodel.JPackage pkg
           
 
Constructor Summary
CClassInfoParent.Package(com.sun.codemodel.JPackage pkg)
           
 
Method Summary
<T> T
accept(CClassInfoParent.Visitor<T> visitor)
           
 String fullName()
          Returns the fully-qualified name.
 com.sun.codemodel.JPackage getOwnerPackage()
          Gets the nearest JPackage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pkg

public final com.sun.codemodel.JPackage pkg
Constructor Detail

CClassInfoParent.Package

public CClassInfoParent.Package(com.sun.codemodel.JPackage pkg)
Method Detail

fullName

public String fullName()
Description copied from interface: CClassInfoParent
Returns the fully-qualified name.

Specified by:
fullName in interface CClassInfoParent

accept

public <T> T accept(CClassInfoParent.Visitor<T> visitor)
Specified by:
accept in interface CClassInfoParent

getOwnerPackage

public com.sun.codemodel.JPackage getOwnerPackage()
Description copied from interface: CClassInfoParent
Gets the nearest JPackage.

Specified by:
getOwnerPackage in interface CClassInfoParent