< prev index next >

src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/model/CAdapter.java

Print this page




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.tools.internal.xjc.model;
  27 
  28 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
  29 import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
  30 import javax.xml.bind.annotation.adapters.XmlAdapter;
  31 
  32 import com.sun.codemodel.internal.JClass;
  33 import com.sun.tools.internal.xjc.model.nav.EagerNClass;
  34 import com.sun.tools.internal.xjc.model.nav.NClass;
  35 import com.sun.tools.internal.xjc.model.nav.NType;
  36 import com.sun.tools.internal.xjc.model.nav.NavigatorImpl;

  37 import com.sun.tools.internal.xjc.outline.Outline;
  38 import com.sun.xml.internal.bind.v2.model.core.Adapter;
  39 
  40 /**
  41  * Extended {@link Adapter} for use within XJC.
  42  *
  43  * @author Kohsuke Kawaguchi
  44  */
  45 public final class CAdapter extends Adapter<NType,NClass> {
  46 
  47     /**
  48      * If non-null, the same as {@link #adapterType} but more conveniently typed.
  49      */
  50     private JClass adapterClass1;
  51 
  52     /**
  53      * If non-null, the same as {@link #adapterType} but more conveniently typed.
  54      */
  55     private Class<? extends XmlAdapter> adapterClass2;
  56 




  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.tools.internal.xjc.model;
  27 
  28 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
  29 import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
  30 import javax.xml.bind.annotation.adapters.XmlAdapter;
  31 
  32 import com.sun.codemodel.internal.JClass;
  33 import com.sun.tools.internal.xjc.model.nav.EagerNClass;
  34 import com.sun.tools.internal.xjc.model.nav.NClass;
  35 import com.sun.tools.internal.xjc.model.nav.NType;
  36 import com.sun.tools.internal.xjc.model.nav.NavigatorImpl;
  37 import com.sun.tools.internal.xjc.outline.Aspect;
  38 import com.sun.tools.internal.xjc.outline.Outline;
  39 import com.sun.xml.internal.bind.v2.model.core.Adapter;
  40 
  41 /**
  42  * Extended {@link Adapter} for use within XJC.
  43  *
  44  * @author Kohsuke Kawaguchi
  45  */
  46 public final class CAdapter extends Adapter<NType,NClass> {
  47 
  48     /**
  49      * If non-null, the same as {@link #adapterType} but more conveniently typed.
  50      */
  51     private JClass adapterClass1;
  52 
  53     /**
  54      * If non-null, the same as {@link #adapterType} but more conveniently typed.
  55      */
  56     private Class<? extends XmlAdapter> adapterClass2;
  57 


< prev index next >