Class XJCJavaPackageImpl

java.lang.Object
org.eclipse.persistence.jaxb.javamodel.xjc.XJCJavaPackageImpl
All Implemented Interfaces:
JavaHasAnnotations, JavaPackage

public class XJCJavaPackageImpl extends Object implements JavaPackage
INTERNAL:

Purpose: JavaPackage implementation wrapping XJC's JPackage. Used when bootstrapping a DynamicJAXBContext from an XML Schema.

Responsibilities:

  • Provide Package information from the underlying JPackage.
See Also:
  • Field Details

    • xjcPackage

      protected com.sun.codemodel.JPackage xjcPackage
  • Constructor Details

    • XJCJavaPackageImpl

      public XJCJavaPackageImpl(com.sun.codemodel.JPackage jPackage, DynamicClassLoader loader)
      Construct a new instance of XJCJavaPackageImpl.
      Parameters:
      jPackage - - the XJC JPackage to be wrapped.
      loader - - the ClassLoader used to bootstrap the DynamicJAXBContext.
  • Method Details