&& !Utils.isXsNode(type.getNode(), "attributeGroup") && !Utils.isXsNode(type.getNode(), "group") && type.isReferenced() && isType && (type.getBaseType() == null)) { Generator gen = genFactory.getGenerator(type, symbolTable); && !Utils.isXsNode(type.getNode(), "attributeGroup") && !Utils.isXsNode(type.getNode(), "group") && type.isReferenced() && isType && (type.getBaseType() == null)) { Generator gen = genFactory.getGenerator(type, symbolTable);
&& !Utils.isXsNode(type.getNode(), "attributeGroup") && !Utils.isXsNode(type.getNode(), "group") && type.isReferenced() && isType && (type.getBaseType() == null)) { Generator gen = genFactory.getGenerator(type, symbolTable); && !Utils.isXsNode(type.getNode(), "attributeGroup") && !Utils.isXsNode(type.getNode(), "group") && type.isReferenced() && isType && (type.getBaseType() == null)) { Generator gen = genFactory.getGenerator(type, symbolTable);
&& !Utils.isXsNode(type.getNode(), "attributeGroup") && !Utils.isXsNode(type.getNode(), "group") && type.isReferenced() && isType && (type.getBaseType() == null)) { Generator gen = genFactory.getGenerator(type, symbolTable); && !Utils.isXsNode(type.getNode(), "attributeGroup") && !Utils.isXsNode(type.getNode(), "group") && type.isReferenced() && isType && (type.getBaseType() == null)) { Generator gen = genFactory.getGenerator(type, symbolTable);
if ((entry.isReferenced() && !literal) || (entry.isOnlyLiteralReferenced() && literal)) { return; if (!entry.isReferenced() && literal) { entry.setOnlyLiteralReference(true); if (!nestedType.isReferenced()) {
if ((entry.isReferenced() && !literal) || (entry.isOnlyLiteralReferenced() && literal)) { return; if (!entry.isReferenced() && literal) { entry.setOnlyLiteralReference(true); if (!nestedType.isReferenced()) {
if ((entry.isReferenced() && !literal) || (entry.isOnlyLiteralReferenced() && literal)) { return; if (!entry.isReferenced() && literal) { entry.setOnlyLiteralReference(true); if (!nestedType.isReferenced()) {
public static boolean shouldEmit(TypeEntry type) { // 1) Don't register types that are base (primitive) types // or attributeGroups or xs:groups. // If the baseType != null && getRefType() != null this // is a simpleType that must be registered. // 2) Don't register the special types for collections // (indexed properties) or elements // 3) Don't register types that are not referenced // or only referenced in a literal context. return (!(((type.getBaseType() != null) && (type.getRefType() == null)) || (type instanceof CollectionTE) || (type instanceof Element) || !type.isReferenced() || type.isOnlyLiteralReferenced() || ((type.getNode() != null) && (isXsNode(type.getNode(), "group") || isXsNode(type.getNode(), "attributeGroup"))))); }
public static boolean shouldEmit(TypeEntry type) { // 1) Don't register types that are base (primitive) types // or attributeGroups or xs:groups. // If the baseType != null && getRefType() != null this // is a simpleType that must be registered. // 2) Don't register the special types for collections // (indexed properties) or elements // 3) Don't register types that are not referenced // or only referenced in a literal context. return (!(((type.getBaseType() != null) && (type.getRefType() == null)) || (type instanceof CollectionTE) || (type instanceof Element) || !type.isReferenced() || type.isOnlyLiteralReferenced() || ((type.getNode() != null) && (isXsNode(type.getNode(), "group") || isXsNode(type.getNode(), "attributeGroup"))))); }
public static boolean shouldEmit(TypeEntry type) { // 1) Don't register types that are base (primitive) types // or attributeGroups or xs:groups. // If the baseType != null && getRefType() != null this // is a simpleType that must be registered. // 2) Don't register the special types for collections // (indexed properties) or elements // 3) Don't register types that are not referenced // or only referenced in a literal context. return (!(((type.getBaseType() != null) && (type.getRefType() == null)) || (type instanceof CollectionTE) || (type instanceof Element) || !type.isReferenced() || type.isOnlyLiteralReferenced() || ((type.getNode() != null) && (isXsNode(type.getNode(), "group") || isXsNode(type.getNode(), "attributeGroup"))))); }
SymbolTable symbolTable) { super(emitter, type, symbolTable); if (type.isReferenced() && !type.isOnlyLiteralReferenced() && type instanceof Type) {
SymbolTable symbolTable) { if (type.isReferenced() && !type.isOnlyLiteralReferenced()) {
SymbolTable symbolTable) { if (type.isReferenced() && !type.isOnlyLiteralReferenced()) {
SymbolTable symbolTable) { if (type.isReferenced() && !type.isOnlyLiteralReferenced()) {