public class XMLUtil extends Object
Constructor and Description |
---|
XMLUtil() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
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<?>> |
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.
|
public static List<String> getClassList(InputStream inputStream, String tag) throws TemplateException, Exception
file
- tag
- TemplateException
Exception
public static Map<String,Class<?>> getGeneratedMappings(InputStream inputStream, String key, String value) throws TemplateException, Exception
file
- key
- value
- TemplateException
Exception
Copyright © 2010–2015 Planetary Data System. All rights reserved.