jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/model/CElementInfo.java
changeset 33547 e4c76ac38b12
parent 28887 88470f768658
equal deleted inserted replaced
33390:d131f4b8433a 33547:e4c76ac38b12
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    58 /**
    58 /**
    59  * {@link ElementInfo} implementation for the compile-time model.
    59  * {@link ElementInfo} implementation for the compile-time model.
    60  *
    60  *
    61  * <p>
    61  * <p>
    62  * As an NType, it represents the Java representation of this element
    62  * As an NType, it represents the Java representation of this element
    63  * (either JAXBElement&lt;T> or Foo).
    63  * (either {@code JAXBElement<T>} or Foo).
    64  *
    64  *
    65  * @author Kohsuke Kawaguchi
    65  * @author Kohsuke Kawaguchi
    66  */
    66  */
    67 public final class CElementInfo extends AbstractCElement
    67 public final class CElementInfo extends AbstractCElement
    68     implements ElementInfo<NType,NClass>, NType, CClassInfoParent {
    68     implements ElementInfo<NType,NClass>, NType, CClassInfoParent {
    69 
    69 
    70     private final QName tagName;
    70     private final QName tagName;
    71 
    71 
    72     /**
    72     /**
    73      * Represents {@code JAXBElement&lt;ContentType>}.
    73      * Represents {@code JAXBElement<ContentType>}.
    74      */
    74      */
    75     private NType type;
    75     private NType type;
    76 
    76 
    77     /**
    77     /**
    78      * If this element produces its own class, the short name of that class.
    78      * If this element produces its own class, the short name of that class.