Lines Matching defs:ct
26 package com.sun.tools.internal.xjc.reader.xmlschema.ct;
34 import static com.sun.tools.internal.xjc.reader.xmlschema.ct.ComplexTypeBindingMode.FALLBACK_CONTENT;
45 public boolean isApplicable(XSComplexType ct) {
46 XSType bt = ct.getBaseType();
47 if(bt ==schemas.getAnyType() && ct.isMixed())
53 ct.isMixed() &&
54 ct.getDerivationMethod() == XSType.EXTENSION) {
55 if (!bgmBuilder.isGenerateMixedExtensions() && (ct.getContentType().asParticle() == null)) {
64 public void build(XSComplexType ct) {
65 XSContentType contentType = ct.getContentType();
69 if (!(ct.getBaseType() == schemas.getAnyType() && ct.isMixed())) {
70 XSComplexType baseType = ct.getBaseType().asComplexType();
72 CClass baseClass = selector.bindToType(baseType, ct, true);
77 builder.recordBindingMode(ct, FALLBACK_CONTENT);
78 BIProperty prop = BIProperty.getCustomization(ct);
83 List<XSComplexType> cType = ct.getSubtypes();
88 p = prop.createContentExtendedMixedReferenceProperty("Content", ct, null);
90 p = prop.createValueProperty("Content",false,ct,CBuiltinLeafInfo.STRING,null);
93 p = prop.createContentExtendedMixedReferenceProperty("Content", ct, null);
96 p = prop.createContentExtendedMixedReferenceProperty("Content", ct, ts);
101 p = prop.createValueProperty("Content",false,ct,CBuiltinLeafInfo.STRING,null);
104 p = prop.createReferenceProperty("Content", false, ct, ts, true, false, true, false);
111 green.attContainer(ct);