gov.nasa.pds.imaging.generate.context
Class ContextMappings
java.lang.Object
gov.nasa.pds.imaging.generate.context.ContextMappings
public class ContextMappings
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_FILENAME
public static final String XML_FILENAME
- See Also:
- Constant Field Values
XML_TAG
public static final String XML_TAG
- XML element name holding the key value
- See Also:
- Constant Field Values
contextMap
public HashMap<String,PDSContext> contextMap
ContextMappings
public ContextMappings()
throws TemplateException,
Exception
- Throws:
TemplateException
Exception
ContextMappings
public ContextMappings(PDSObject pdsObject,
String confPath)
throws TemplateException,
Exception
- Populates the contextMap with those classes specified in the context
mappings XML file.
- Throws:
TemplateException
Exception
addMapping
public void addMapping(String key,
PDSContext value)
Copyright © 2010-2014 Planetary Data System. All Rights Reserved.