gov.nasa.pds.imaging.generation
Class Generator

java.lang.Object
  extended by gov.nasa.pds.imaging.generation.Generator

public class Generator
extends Object


Constructor Summary
Generator()
           
Generator(PDSObject pdsObject, File templateFile, String filePath, String confPath, File outputFile)
           
 
Method Summary
 void generate(boolean toFile)
           
 org.apache.velocity.VelocityContext getContext()
           
 ContextMappings getContextMappings()
           
 String getFilePath()
           
 File getOutputFile()
           
 PDSObject getPdsObject()
           
 org.apache.velocity.Template getTemplate()
           
 File getTemplateFile()
           
 String getTemplatePath()
           
 void setContext(org.apache.velocity.VelocityContext context)
           
 void setContextMappings(ContextMappings ctxMappings)
           
 void setFilePath(String filePath)
           
 void setOutputFile(File outputFile)
           
 void setPDSObject(PDSObject pdsObject)
           
 void setTemplate(org.apache.velocity.Template template)
           
 void setTemplateFile(File templateFile)
           
 void setTemplatePath(String templatePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Generator

public Generator(PDSObject pdsObject,
                 File templateFile,
                 String filePath,
                 String confPath,
                 File outputFile)
          throws Exception
Throws:
Exception

Generator

public Generator()
          throws Exception
Throws:
Exception
Method Detail

generate

public void generate(boolean toFile)
              throws IOException,
                     org.apache.velocity.exception.ResourceNotFoundException,
                     org.apache.velocity.exception.ParseErrorException,
                     org.apache.velocity.exception.MethodInvocationException,
                     TransformerException,
                     SAXException,
                     ParserConfigurationException
Throws:
IOException
org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.ParseErrorException
org.apache.velocity.exception.MethodInvocationException
TransformerException
SAXException
ParserConfigurationException

getContextMappings

public ContextMappings getContextMappings()

setContextMappings

public void setContextMappings(ContextMappings ctxMappings)

getPdsObject

public PDSObject getPdsObject()

setPDSObject

public void setPDSObject(PDSObject pdsObject)

getFilePath

public String getFilePath()

setFilePath

public void setFilePath(String filePath)

getContext

public org.apache.velocity.VelocityContext getContext()

setContext

public void setContext(org.apache.velocity.VelocityContext context)

getTemplatePath

public String getTemplatePath()

setTemplatePath

public void setTemplatePath(String templatePath)

getTemplateFile

public File getTemplateFile()

setTemplateFile

public void setTemplateFile(File templateFile)

getTemplate

public org.apache.velocity.Template getTemplate()

setTemplate

public void setTemplate(org.apache.velocity.Template template)

getOutputFile

public File getOutputFile()

setOutputFile

public void setOutputFile(File outputFile)


Copyright © 2010-2011 Planetary Data System. All Rights Reserved.