com.sun.tools.internal.xjc.model.CClass Java Examples
The following examples show how to use
com.sun.tools.internal.xjc.model.CClass.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RawTypeSetBuilder.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
public void elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); if(elementNames.add(n)) { CElement elementBean = Ring.get(ClassSelector.class).bindToType(decl,null); if(elementBean==null) refs.add(new XmlTypeRef(decl)); else { // yikes! if(elementBean instanceof CClass) refs.add(new CClassRef(decl,(CClass)elementBean)); else refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean)); } } }
Example #2
Source File: RawTypeSetBuilder.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
public void elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); if(elementNames.add(n)) { CElement elementBean = Ring.get(ClassSelector.class).bindToType(decl,null); if(elementBean==null) refs.add(new XmlTypeRef(decl)); else { // yikes! if(elementBean instanceof CClass) refs.add(new CClassRef(decl,(CClass)elementBean)); else refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean)); } } }
Example #3
Source File: RawTypeSetBuilder.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public void elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); if(elementNames.add(n)) { CElement elementBean = Ring.get(ClassSelector.class).bindToType(decl,null); if(elementBean==null) refs.add(new XmlTypeRef(decl)); else { // yikes! if(elementBean instanceof CClass) refs.add(new CClassRef(decl,(CClass)elementBean)); else refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean)); } } }
Example #4
Source File: RawTypeSetBuilder.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public void elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); if(elementNames.add(n)) { CElement elementBean = Ring.get(ClassSelector.class).bindToType(decl,null); if(elementBean==null) refs.add(new XmlTypeRef(decl)); else { // yikes! if(elementBean instanceof CClass) refs.add(new CClassRef(decl,(CClass)elementBean)); else refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean)); } } }
Example #5
Source File: RawTypeSetBuilder.java From hottub with GNU General Public License v2.0 | 6 votes |
public void elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); if(elementNames.add(n)) { CElement elementBean = Ring.get(ClassSelector.class).bindToType(decl,null); if(elementBean==null) refs.add(new XmlTypeRef(decl)); else { // yikes! if(elementBean instanceof CClass) refs.add(new CClassRef(decl,(CClass)elementBean)); else refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean)); } } }
Example #6
Source File: RawTypeSetBuilder.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
public void elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); if(elementNames.add(n)) { CElement elementBean = Ring.get(ClassSelector.class).bindToType(decl,null); if(elementBean==null) refs.add(new XmlTypeRef(decl)); else { // yikes! if(elementBean instanceof CClass) refs.add(new CClassRef(decl,(CClass)elementBean)); else refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean)); } } }
Example #7
Source File: RawTypeSetBuilder.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
public void elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); if(elementNames.add(n)) { CElement elementBean = Ring.get(ClassSelector.class).bindToType(decl,null); if(elementBean==null) refs.add(new XmlTypeRef(decl)); else { // yikes! if(elementBean instanceof CClass) refs.add(new CClassRef(decl,(CClass)elementBean)); else refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean)); } } }
Example #8
Source File: RawTypeSetBuilder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
public void elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); if(elementNames.add(n)) { CElement elementBean = Ring.get(ClassSelector.class).bindToType(decl,null); if(elementBean==null) refs.add(new XmlTypeRef(decl)); else { // yikes! if(elementBean instanceof CClass) refs.add(new CClassRef(decl,(CClass)elementBean)); else refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean)); } } }
Example #9
Source File: ClassSelector.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public CClass bindToType( XSComplexType t, XSComponent referer, boolean cannotBeDelayed ) { // this assumption that a complex type always binds to a ClassInfo // does not hold for xs:anyType --- our current approach of handling // this idiosynchracy is to make sure that xs:anyType doesn't use // this codepath. return (CClass)_bindToClass(t,referer,cannotBeDelayed); }
Example #10
Source File: ClassSelector.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public CClass bindToType( XSComplexType t, XSComponent referer, boolean cannotBeDelayed ) { // this assumption that a complex type always binds to a ClassInfo // does not hold for xs:anyType --- our current approach of handling // this idiosynchracy is to make sure that xs:anyType doesn't use // this codepath. return (CClass)_bindToClass(t,referer,cannotBeDelayed); }
Example #11
Source File: BindPurple.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public void complexType(XSComplexType ct) { CClass ctBean = selector.bindToType(ct,null,false); if(getCurrentBean()!=ctBean) // in some case complex type and element binds to the same class // don't make it has-a. Just make it is-a. getCurrentBean().setBaseClass(ctBean); }
Example #12
Source File: ClassSelector.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public CClass bindToType( XSComplexType t, XSComponent referer, boolean cannotBeDelayed ) { // this assumption that a complex type always binds to a ClassInfo // does not hold for xs:anyType --- our current approach of handling // this idiosynchracy is to make sure that xs:anyType doesn't use // this codepath. return (CClass)_bindToClass(t,referer,cannotBeDelayed); }
Example #13
Source File: BindPurple.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public void complexType(XSComplexType ct) { CClass ctBean = selector.bindToType(ct,null,false); if(getCurrentBean()!=ctBean) // in some case complex type and element binds to the same class // don't make it has-a. Just make it is-a. getCurrentBean().setBaseClass(ctBean); }
Example #14
Source File: ClassSelector.java From hottub with GNU General Public License v2.0 | 5 votes |
public CClass bindToType( XSComplexType t, XSComponent referer, boolean cannotBeDelayed ) { // this assumption that a complex type always binds to a ClassInfo // does not hold for xs:anyType --- our current approach of handling // this idiosynchracy is to make sure that xs:anyType doesn't use // this codepath. return (CClass)_bindToClass(t,referer,cannotBeDelayed); }
Example #15
Source File: BindPurple.java From hottub with GNU General Public License v2.0 | 5 votes |
public void complexType(XSComplexType ct) { CClass ctBean = selector.bindToType(ct,null,false); if(getCurrentBean()!=ctBean) // in some case complex type and element binds to the same class // don't make it has-a. Just make it is-a. getCurrentBean().setBaseClass(ctBean); }
Example #16
Source File: ClassSelector.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public CClass bindToType( XSComplexType t, XSComponent referer, boolean cannotBeDelayed ) { // this assumption that a complex type always binds to a ClassInfo // does not hold for xs:anyType --- our current approach of handling // this idiosynchracy is to make sure that xs:anyType doesn't use // this codepath. return (CClass)_bindToClass(t,referer,cannotBeDelayed); }
Example #17
Source File: BindPurple.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public void complexType(XSComplexType ct) { CClass ctBean = selector.bindToType(ct,null,false); if(getCurrentBean()!=ctBean) // in some case complex type and element binds to the same class // don't make it has-a. Just make it is-a. getCurrentBean().setBaseClass(ctBean); }
Example #18
Source File: ClassSelector.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public CClass bindToType( XSComplexType t, XSComponent referer, boolean cannotBeDelayed ) { // this assumption that a complex type always binds to a ClassInfo // does not hold for xs:anyType --- our current approach of handling // this idiosynchracy is to make sure that xs:anyType doesn't use // this codepath. return (CClass)_bindToClass(t,referer,cannotBeDelayed); }
Example #19
Source File: BindPurple.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public void complexType(XSComplexType ct) { CClass ctBean = selector.bindToType(ct,null,false); if(getCurrentBean()!=ctBean) // in some case complex type and element binds to the same class // don't make it has-a. Just make it is-a. getCurrentBean().setBaseClass(ctBean); }
Example #20
Source File: ClassSelector.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public CClass bindToType( XSComplexType t, XSComponent referer, boolean cannotBeDelayed ) { // this assumption that a complex type always binds to a ClassInfo // does not hold for xs:anyType --- our current approach of handling // this idiosynchracy is to make sure that xs:anyType doesn't use // this codepath. return (CClass)_bindToClass(t,referer,cannotBeDelayed); }
Example #21
Source File: BindPurple.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public void complexType(XSComplexType ct) { CClass ctBean = selector.bindToType(ct,null,false); if(getCurrentBean()!=ctBean) // in some case complex type and element binds to the same class // don't make it has-a. Just make it is-a. getCurrentBean().setBaseClass(ctBean); }
Example #22
Source File: ClassSelector.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public CClass bindToType( XSComplexType t, XSComponent referer, boolean cannotBeDelayed ) { // this assumption that a complex type always binds to a ClassInfo // does not hold for xs:anyType --- our current approach of handling // this idiosynchracy is to make sure that xs:anyType doesn't use // this codepath. return (CClass)_bindToClass(t,referer,cannotBeDelayed); }
Example #23
Source File: BindPurple.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public void complexType(XSComplexType ct) { CClass ctBean = selector.bindToType(ct,null,false); if(getCurrentBean()!=ctBean) // in some case complex type and element binds to the same class // don't make it has-a. Just make it is-a. getCurrentBean().setBaseClass(ctBean); }
Example #24
Source File: BindPurple.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public void complexType(XSComplexType ct) { CClass ctBean = selector.bindToType(ct,null,false); if(getCurrentBean()!=ctBean) // in some case complex type and element binds to the same class // don't make it has-a. Just make it is-a. getCurrentBean().setBaseClass(ctBean); }
Example #25
Source File: RawTypeSetBuilder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
CClassRef(XSElementDecl decl, CClass target) { this.decl = decl; this.target = target; }
Example #26
Source File: RawTypeSetBuilder.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
CClassRef(XSElementDecl decl, CClass target) { this.decl = decl; this.target = target; }
Example #27
Source File: RawTypeSetBuilder.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
CClassRef(XSElementDecl decl, CClass target) { this.decl = decl; this.target = target; }
Example #28
Source File: RawTypeSetBuilder.java From hottub with GNU General Public License v2.0 | 4 votes |
CClassRef(XSElementDecl decl, CClass target) { this.decl = decl; this.target = target; }
Example #29
Source File: RawTypeSetBuilder.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
CClassRef(XSElementDecl decl, CClass target) { this.decl = decl; this.target = target; }
Example #30
Source File: RawTypeSetBuilder.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
CClassRef(XSElementDecl decl, CClass target) { this.decl = decl; this.target = target; }