documenter.engine
Class DocGeneratorModel

java.lang.Object
  extended by documenter.engine.DocGeneratorModel

public class DocGeneratorModel
extends java.lang.Object

Business logic class of DocGenerator tool. Model role in DocGenerator MVC implementation.

Author:
Misio

Constructor Summary
DocGeneratorModel()
          Default constructor.
DocGeneratorModel(DocGeneratorView view)
          Deprecated.  
 
Method Summary
 void generateCompleteModel()
          Generates documentation
 java.lang.String getDocOutPath()
           
 void setInput(java.util.ArrayList<java.lang.String> value)
          Sets input list of RDF files for DocGenerator Model
 void setOutpath(java.lang.String value)
          Sets the path in which the generated documenation will be placed
 void setProjName(java.lang.String value)
          Name of the documentation project.
 void setView(DocGeneratorView view)
          Sets the MVC View component for this Model
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocGeneratorModel

public DocGeneratorModel()
Default constructor.


DocGeneratorModel

public DocGeneratorModel(DocGeneratorView view)
Deprecated. 

Contructs Model intance which status is presented on a particular View.

Parameters:
view - The view on which the model should be presented
Method Detail

getDocOutPath

public java.lang.String getDocOutPath()
Returns:
The path to which the documentation should be generated

setView

public void setView(DocGeneratorView view)
Sets the MVC View component for this Model

Parameters:
view - The View on which the model should be presented

setInput

public void setInput(java.util.ArrayList<java.lang.String> value)
Sets input list of RDF files for DocGenerator Model

Parameters:
value - The list of RDF files for which the documentation is to be generated

setOutpath

public void setOutpath(java.lang.String value)
Sets the path in which the generated documenation will be placed

Parameters:
value - Local filesystem path

setProjName

public void setProjName(java.lang.String value)
Name of the documentation project. This name will be used as a root directory for the generated documentation files and placed in the directory given in the OutPath

Parameters:
value -

generateCompleteModel

public void generateCompleteModel()
                           throws java.lang.Exception
Generates documentation

Throws:
java.lang.Exception