|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.imaging.generate.util.XMLUtil
public class XMLUtil
Utility class for reading XML files
Constructor Summary | |
---|---|
XMLUtil()
|
Method Summary | |
---|---|
static List<String> |
getClassList(String file,
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<?>> |
getGeneratedMappings(String file,
String key,
String value)
A static method that returns the mapping of String to Class for Generated Values found in the Velocity Template. |
static void |
main(String[] args)
For debugging only |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLUtil()
Method Detail |
---|
public static List<String> getClassList(String file, String tag) throws TemplateException, Exception
file
- tag
-
TemplateException
Exception
public static Map<String,Class<?>> getGeneratedMappings(String file, String key, String value) throws TemplateException, Exception
file
- key
- value
-
TemplateException
Exception
public static void main(String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |