
Public Member Functions | |
| void | load (File configFile, File[] includeConfigFiles) throws BindingException |
| String[] | getAllNamespaces () |
| String | getJPackageForNamespace (String ns) |
| String[] | getAllSchemaNames () |
| String | getJPackageForSchema (String schemaName) |
| List< File > | getPrimarySchemaFiles () throws BindingException |
| List< File > | getAllSchemaFiles () |
| Map< String, File > | getSchemaName2File () |
Private Member Functions | |
| void | storePckgMappings (EntitybuilderSettings ebs, File schemaBaseDir) |
| EntitybuilderSettings | parseConfigFile (File configFile) throws BindingException |
Private Attributes | |
| EntitybuilderSettings | m_entitybuilderSettings |
| Map< String, String > | m_schema2pckMap = new HashMap<String, String>() |
| Map< String, String > | m_ns2pckMap = new HashMap<String, String>() |
| Map< String, File > | m_schemaName2File = new HashMap<String, File>() |
| String [] alma::tools::entitybuilder::EntitybuilderConfig::getAllNamespaces | ( | ) | [inline] |
Gets all xsd namespaces, even those from included config files for which no code is generated directly.
References m_ns2pckMap.
Referenced by alma::tools::entitybuilder::CastorBuilder::run().
| List<File> alma::tools::entitybuilder::EntitybuilderConfig::getAllSchemaFiles | ( | ) | [inline] |
References m_schemaName2File.
Referenced by alma::tools::entitybuilder::CastorBuilder::run().
| String [] alma::tools::entitybuilder::EntitybuilderConfig::getAllSchemaNames | ( | ) | [inline] |
Gets all schema names, even those from included config files for which no code is generated directly. Only file names, no directory path.
References m_schema2pckMap.
| String alma::tools::entitybuilder::EntitybuilderConfig::getJPackageForNamespace | ( | String | ns | ) | [inline] |
References m_ns2pckMap.
Referenced by alma::tools::entitybuilder::CastorBuilder::run().
| String alma::tools::entitybuilder::EntitybuilderConfig::getJPackageForSchema | ( | String | schemaName | ) | [inline] |
References m_schema2pckMap.
Referenced by alma::tools::entitybuilder::CastorBuilder::run().
| List<File> alma::tools::entitybuilder::EntitybuilderConfig::getPrimarySchemaFiles | ( | ) | throws BindingException [inline] |
Gets all schema files which should be run explicitly through the code generator. Schema files that are only used indirectly (include, import) are not returned.
References alma::tools::entitybuilder::generated::EntitybuilderSettings::getEntitySchema(), m_entitybuilderSettings, and m_schemaName2File.
Referenced by alma::tools::entitybuilder::CastorBuilder::run().
| Map<String, File> alma::tools::entitybuilder::EntitybuilderConfig::getSchemaName2File | ( | ) | [inline] |
References m_schemaName2File.
Referenced by alma::tools::entitybuilder::CastorBuilder::run().
| void alma::tools::entitybuilder::EntitybuilderConfig::load | ( | File | configFile, | |
| File[] | includeConfigFiles | |||
| ) | throws BindingException [inline] |
Reads the configuration data.
| BindingException |
References m_entitybuilderSettings, parseConfigFile(), and storePckgMappings().
Referenced by alma::tools::entitybuilder::CastorBuilder::run().
| EntitybuilderSettings alma::tools::entitybuilder::EntitybuilderConfig::parseConfigFile | ( | File | configFile | ) | throws BindingException [inline, private] |
Referenced by load().
| void alma::tools::entitybuilder::EntitybuilderConfig::storePckgMappings | ( | EntitybuilderSettings | ebs, | |
| File | schemaBaseDir | |||
| ) | [inline, private] |
EntitybuilderSettings alma::tools::entitybuilder::EntitybuilderConfig::m_entitybuilderSettings [private] |
Referenced by getPrimarySchemaFiles(), and load().
Map<String, String> alma::tools::entitybuilder::EntitybuilderConfig::m_ns2pckMap = new HashMap<String, String>() [private] |
key = xsd namespace, value = Java package
Referenced by getAllNamespaces(), getJPackageForNamespace(), and storePckgMappings().
Map<String, String> alma::tools::entitybuilder::EntitybuilderConfig::m_schema2pckMap = new HashMap<String, String>() [private] |
key = schema file name w/o path, value = Java package
Referenced by getAllSchemaNames(), getJPackageForSchema(), and storePckgMappings().
Map<String, File> alma::tools::entitybuilder::EntitybuilderConfig::m_schemaName2File = new HashMap<String, File>() [private] |
Referenced by getAllSchemaFiles(), getPrimarySchemaFiles(), getSchemaName2File(), and storePckgMappings().
1.6.2