gov.nasa.pds.imaging.generate.context
Class ContextMappings

java.lang.Object
  extended by gov.nasa.pds.imaging.generate.context.ContextMappings

public class ContextMappings
extends Object


Field Summary
 HashMap<String,PDSContext> contextMap
           
static String XML_FILENAME
           
static String XML_TAG
          XML element name holding the key value
 
Constructor Summary
ContextMappings()
           
ContextMappings(PDSObject pdsObject)
          Populates the contextMap with those classes specified in the context mappings XML file.
 
Method Summary
 void addMapping(String key, PDSContext value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ContextMappings

public ContextMappings()
                throws TemplateException,
                       Exception
Throws:
TemplateException
Exception

ContextMappings

public ContextMappings(PDSObject pdsObject)
                throws TemplateException,
                       Exception
Populates the contextMap with those classes specified in the context mappings XML file.

Throws:
TemplateException
Exception
Method Detail

addMapping

public void addMapping(String key,
                       PDSContext value)


Copyright © 2010–2014 Planetary Data System. All rights reserved.