public class ContextMappings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<java.lang.String,PDSContext> |
contextMap |
static java.lang.String |
XML_FILENAME |
static java.lang.String |
XML_TAG
XML element name holding the key value
|
Constructor and Description |
---|
ContextMappings() |
ContextMappings(PDSObject pdsObject)
Populates the contextMap with those classes specified in the context
mappings XML file.
|
Modifier and Type | Method and Description |
---|---|
void |
addMapping(java.lang.String key,
PDSContext value) |
public static final java.lang.String XML_FILENAME
public static final java.lang.String XML_TAG
public java.util.HashMap<java.lang.String,PDSContext> contextMap
public ContextMappings() throws TemplateException, java.lang.Exception
TemplateException
java.lang.Exception
public ContextMappings(PDSObject pdsObject) throws TemplateException, java.lang.Exception
TemplateException
java.lang.Exception
public void addMapping(java.lang.String key, PDSContext value)
Copyright © 2010-2019 Planetary Data System. All Rights Reserved.