ijgen.generator.engine.parser.xml
Class XmlModelsDefinitionsLoader

java.lang.Object
  extended by ijgen.generator.engine.parser.ModelDefinitionsLoader
      extended by ijgen.generator.engine.parser.xml.XmlModelsDefinitionsLoader

public class XmlModelsDefinitionsLoader
extends ModelDefinitionsLoader

Class responsible for scanning xml model files and loading meta information into corresponding object structure used by generator.

Author:
Detelin Zlatev

Constructor Summary
XmlModelsDefinitionsLoader(java.lang.String modelDefinitionsDirectory)
          
 
Method Summary
protected  java.util.List<ClassDefinition> doLoadClassDefinitions()
          Abstract method that should be overridden by all the successors of this class.
protected  java.lang.String getModelDefinitionExtension()
          Abstract method that should be overridden by all the successors of this class.
 
Methods inherited from class ijgen.generator.engine.parser.ModelDefinitionsLoader
getClassDefinitions, getModelDefinitionsDirectory, getModelFiles, setModelDefinitionsDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlModelsDefinitionsLoader

public XmlModelsDefinitionsLoader(java.lang.String modelDefinitionsDirectory)

Method Detail

doLoadClassDefinitions

protected java.util.List<ClassDefinition> doLoadClassDefinitions()
Abstract method that should be overridden by all the successors of this class. This method does the actual job for loading model definitions.}

Specified by:
doLoadClassDefinitions in class ModelDefinitionsLoader
Returns:
list of model definitions

getModelDefinitionExtension

protected java.lang.String getModelDefinitionExtension()
Abstract method that should be overridden by all the successors of this class. Represents the extension of files that are supported by the concrete model definitions loader.

Specified by:
getModelDefinitionExtension in class ModelDefinitionsLoader
Returns:


Copyright © 2010 Detelin Zlatev. All Rights Reserved.