Package schema2template.model

Examples of schema2template.model.XMLModel


    // 2DO - still existent? -- Manual added Java specific info - mapping ODF datatype to Java datatype  -> {odfValueType, javaConversionClassName}
    Map<String, String[]> datatypeValueAndConversionMap = new HashMap<String, String[]>();
    Map<String, OdfModel.AttributeDefaults> attributeDefaultMap = new HashMap<String, OdfModel.AttributeDefaults>();
    OdfConfigFileHandler.readConfigFile(new File(mConfigFile), elementToBaseNameMap, attributeDefaultMap, elementStyleFamiliesMap, datatypeValueAndConversionMap);

    mOdf12SchemaModel = new XMLModel(mOdf12Root);
    mOdf11SchemaModel = new XMLModel(mOdf11Root);
    mOdfModel = new OdfModel(elementStyleFamiliesMap, attributeDefaultMap);
    // Needed for the base classes - common attributes are being moved into the base classes
    mJavaModel = new SourceCodeModel(mOdf12SchemaModel, mOdfModel, elementToBaseNameMap, datatypeValueAndConversionMap);
  }
View Full Code Here


    // 2DO - still existent? -- Manual added Java specific info - mapping ODF datatype to Java datatype  -> {odfValueType, javaConversionClassName}
    Map<String, String[]> datatypeValueAndConversionMap = new HashMap<String, String[]>();
    Map<String, OdfModel.AttributeDefaults> attributeDefaultMap = new HashMap<String, OdfModel.AttributeDefaults>();
    OdfConfigFileHandler.readConfigFile(new File(mConfigFile), elementToBaseNameMap, attributeDefaultMap, elementStyleFamiliesMap, datatypeValueAndConversionMap);

    mOdf12SignatureSchemaModel = new XMLModel(mOdf12SignatureRoot);
    mOdf12ManifestSchemaModel = new XMLModel(mOdf12ManifestRoot);
    mOdf12SchemaModel = new XMLModel(mOdf12Root);
    mOdf11SchemaModel = new XMLModel(mOdf11Root);
    mOdfModel = new OdfModel(elementStyleFamiliesMap, attributeDefaultMap);
    // Needed for the base classes - common attributes are being moved into the base classes
    mJavaModel = new SourceCodeModel(mOdf12SchemaModel, mOdf12SignatureSchemaModel, mOdf12ManifestSchemaModel, mOdfModel, elementToBaseNameMap, datatypeValueAndConversionMap);
    LOG.info("Finished initilization..");
  }
View Full Code Here

TOP

Related Classes of schema2template.model.XMLModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.