Example #1
0
 public DocumentContext(Uri tripUri,
                        string _namespace, GeneratorConfig generatorConfig,
                        TypeRegistry typeRegistry)
 {
     Document             = IdlParser.BuildDocument(tripUri);
     this.tripUri         = tripUri;
     Namespace            = _namespace;
     this.generatorConfig = generatorConfig;
     TypeRegistry         = typeRegistry;
     TypeConverter        = new TypeToJavaConverter(typeRegistry, _namespace, JavaPackage);
 }
 public ListConverter(TypeToJavaConverter typeToJavaConverter)
 {
     this.typeToJavaConverter = typeToJavaConverter;
 }
 public MapConverter(TypeToJavaConverter typeToJavaConverter)
 {
     this.typeToJavaConverter = typeToJavaConverter;
 }
 public IdentifierConverter(TypeToJavaConverter typeToJavaConverter)
 {
     this.typeToJavaConverter = typeToJavaConverter;
 }