new XmlSchemaGenerator<Type,Class,Field,Method>(tis.getNavigator(),tis);
new XmlSchemaGenerator<Type,Class,Field,Method>(tis.getNavigator(),tis);
private synchronized XmlSchemaGenerator<TypeMirror, TypeDeclaration, FieldDeclaration, MethodDeclaration> getSchemaGenerator() { if(xsdgen==null) { xsdgen = new XmlSchemaGenerator<TypeMirror,TypeDeclaration,FieldDeclaration,MethodDeclaration>( types.getNavigator(), types ); for (Map.Entry<QName, Reference> e : additionalElementDecls.entrySet()) { Reference value = e.getValue(); if(value!=null) { NonElement<TypeMirror, TypeDeclaration> typeInfo = refMap.get(value); if(typeInfo==null) throw new IllegalArgumentException(e.getValue()+" was not specified to JavaCompiler.bind"); xsdgen.add(e.getKey(),!(value.type instanceof PrimitiveType),typeInfo); } else { xsdgen.add(e.getKey(),false,null); } } } return xsdgen; } }
private synchronized XmlSchemaGenerator<TypeMirror, TypeDeclaration, FieldDeclaration, MethodDeclaration> getSchemaGenerator() { if(xsdgen==null) { xsdgen = new XmlSchemaGenerator<TypeMirror,TypeDeclaration,FieldDeclaration,MethodDeclaration>( types.getNavigator(), types ); for (Map.Entry<QName, Reference> e : additionalElementDecls.entrySet()) { Reference value = e.getValue(); if(value!=null) { NonElement<TypeMirror, TypeDeclaration> typeInfo = refMap.get(value); if(typeInfo==null) throw new IllegalArgumentException(e.getValue()+" was not specified to JavaCompiler.bind"); xsdgen.add(e.getKey(),!(value.type instanceof PrimitiveType),typeInfo); } else { xsdgen.add(e.getKey(),false,null); } } } return xsdgen; } }
private synchronized XmlSchemaGenerator<TypeMirror, TypeElement, VariableElement, ExecutableElement> getSchemaGenerator() { if(xsdgen==null) { xsdgen = new XmlSchemaGenerator<TypeMirror, TypeElement, VariableElement, ExecutableElement>(types.getNavigator(), types); for (Map.Entry<QName, Reference> e : additionalElementDecls.entrySet()) { Reference value = e.getValue(); if(value!=null) { NonElement<TypeMirror, TypeElement> typeInfo = refMap.get(value); if(typeInfo==null) throw new IllegalArgumentException(e.getValue()+" was not specified to JavaCompiler.bind"); TypeMirror type = value.type; xsdgen.add(e.getKey(), !(type != null && type.getKind().isPrimitive()), typeInfo); } else { xsdgen.add(e.getKey(),false,null); } } } return xsdgen; } }
private synchronized XmlSchemaGenerator<TypeMirror, TypeElement, VariableElement, ExecutableElement> getSchemaGenerator() { if(xsdgen==null) { xsdgen = new XmlSchemaGenerator<TypeMirror, TypeElement, VariableElement, ExecutableElement>(types.getNavigator(), types); for (Map.Entry<QName, Reference> e : additionalElementDecls.entrySet()) { Reference value = e.getValue(); if(value!=null) { NonElement<TypeMirror, TypeElement> typeInfo = refMap.get(value); if(typeInfo==null) throw new IllegalArgumentException(e.getValue()+" was not specified to JavaCompiler.bind"); TypeMirror type = value.type; xsdgen.add(e.getKey(), !(type != null && type.getKind().isPrimitive()), typeInfo); } else { xsdgen.add(e.getKey(),false,null); } } } return xsdgen; } }
new XmlSchemaGenerator<Type,Class,Field,Method>(tis.getNavigator(),tis);
new XmlSchemaGenerator<Type,Class,Field,Method>(tis.getNavigator(),tis);