|| (entry.isOnlyLiteralReferenced() && literal)) { return; else if (entry.isOnlyLiteralReferenced() && !literal) { entry.setOnlyLiteralReference(false); && nestedType.isOnlyLiteralReferenced()) { nestedType.setOnlyLiteralReference(false);
|| (entry.isOnlyLiteralReferenced() && literal)) { return; else if (entry.isOnlyLiteralReferenced() && !literal) { entry.setOnlyLiteralReference(false); && nestedType.isOnlyLiteralReferenced()) { nestedType.setOnlyLiteralReference(false);
|| (entry.isOnlyLiteralReferenced() && literal)) { return; else if (entry.isOnlyLiteralReferenced() && !literal) { entry.setOnlyLiteralReference(false); && nestedType.isOnlyLiteralReferenced()) { nestedType.setOnlyLiteralReference(false);
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()) {