Uses of Class
gov.nasa.pds.imaging.generate.TemplateException
-
-
Uses of TemplateException in gov.nasa.pds.imaging.generate
Methods in gov.nasa.pds.imaging.generate that throw TemplateException Modifier and Type Method Description void
Generator. addPdsObject(PDSObject pdsObject, String contextStr)
addPdsObject add an additional PDSObject The contextStr is the variable prefix used in a velocity template * $extra.SOMETHING if contextStr is "extra" The pdsObject.getContext() value should be this same String * it is used by getPdsObjectvoid
Generator. generate(boolean toStdOut)
Functionality to generate the PDS4 Label from the Velocity Templatevoid
Generator. initTemplate()
Initializes and reads in the Velocity Template into the Velocity Engine.void
Generator. setContext()
Sets the Velocity Template contexts specified by the PDSObject API and ContextMappings object.void
Generator. setPDSObject(PDSObject pdsObject)
void
Generator. setTemplateFile(File templateFile)
Constructors in gov.nasa.pds.imaging.generate that throw TemplateException Constructor Description Generator()
-
Uses of TemplateException in gov.nasa.pds.imaging.generate.automatic
Methods in gov.nasa.pds.imaging.generate.automatic that throw TemplateException Modifier and Type Method Description String
AutoGeneratedElements. get(String value)
void
AutoGeneratedElements. setMappings()
-
Uses of TemplateException in gov.nasa.pds.imaging.generate.automatic.elements
Methods in gov.nasa.pds.imaging.generate.automatic.elements that throw TemplateException Modifier and Type Method Description String
CurrentDateUTC. getValue()
Deprecated.String
Element. getValue()
String
LabelLength. getValue()
String
ModelVersion. getValue()
-
Uses of TemplateException in gov.nasa.pds.imaging.generate.context
Methods in gov.nasa.pds.imaging.generate.context that throw TemplateException Modifier and Type Method Description void
ContextUtil. addDictionaryElement(String key, List<String> elList)
Object
PDSObjectContext. get(String key)
void
PDSObjectContext. setMappings()
Constructors in gov.nasa.pds.imaging.generate.context that throw TemplateException Constructor Description ContextMappings()
ContextMappings(PDSObject pdsObject)
Populates the contextMap with those classes specified in the context mappings XML file. -
Uses of TemplateException in gov.nasa.pds.imaging.generate.label
Methods in gov.nasa.pds.imaging.generate.label that throw TemplateException Modifier and Type Method Description List
JsonLabel. getList(String key)
List
PDS3Label. getList(String key)
List
PDSObject. getList(String key)
void
PDS3Label. setMappings()
-
Uses of TemplateException in gov.nasa.pds.imaging.generate.util
Methods in gov.nasa.pds.imaging.generate.util that throw TemplateException Modifier and Type Method Description static List<String>
XMLUtil. getClassList(InputStream inputStream, String tag)
Static method that returns a list of Classes that will be extracted from the XML file for context mappings.static Map<String,Class<?>>
XMLUtil. getGeneratedMappings(InputStream inputStream, String key, String value)
A static method that returns the mapping of String to Class for Generated Values found in the Velocity Template.
-