public class XMLUtil
extends java.lang.Object
Constructor and Description |
---|
XMLUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getClassList(java.io.InputStream inputStream,
java.lang.String tag)
Static method that returns a list of Classes that will be extracted from
the XML file for context mappings.
|
static java.util.Map<java.lang.String,java.lang.Class<?>> |
getGeneratedMappings(java.io.InputStream inputStream,
java.lang.String key,
java.lang.String value)
A static method that returns the mapping of String to Class for Generated
Values found in the Velocity Template.
|
public static java.util.List<java.lang.String> getClassList(java.io.InputStream inputStream, java.lang.String tag) throws TemplateException, java.lang.Exception
file
- tag
- TemplateException
java.lang.Exception
public static java.util.Map<java.lang.String,java.lang.Class<?>> getGeneratedMappings(java.io.InputStream inputStream, java.lang.String key, java.lang.String value) throws TemplateException, java.lang.Exception
file
- key
- value
- TemplateException
java.lang.Exception
Copyright © 2010-2019 Planetary Data System. All Rights Reserved.