|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.imaging.generate.label.PDS3Label
public class PDS3Label
Represents PDS3 Label object to provide the necessary functionality to
Field Summary | |
---|---|
static String |
CONTEXT
|
ContextUtil |
ctxtUtil
|
Constructor Summary | |
---|---|
PDS3Label()
Empty Constructor, set everything later on |
|
PDS3Label(Document document)
Constructor Construct the PDS3label using a DOM object from somewhere else |
|
PDS3Label(String filePath)
Constructor |
Method Summary | |
---|---|
Object |
get(String key)
Retrieves the value for the specified key |
String |
getContext()
Returns the variable to be used in the Velocity Template Engine to map to this object. |
String |
getFilePath()
|
List |
getList(String key)
|
List<String> |
getPDSObjectNames()
Added per request from mcayanan in order to be able to loop through the PDS Objects that can be found in the label |
String |
getUnits(String key)
|
void |
setMappings()
|
void |
setParameters(PDSObject pdsObject)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CONTEXT
public ContextUtil ctxtUtil
Constructor Detail |
---|
public PDS3Label()
public PDS3Label(Document document)
document
- public PDS3Label(String filePath)
filePath
- Method Detail |
---|
public final Object get(String key)
get
in interface PDSContext
key
-
public final String getContext()
getContext
in interface PDSContext
public final String getFilePath()
getFilePath
in interface PDSObject
public final List getList(String key) throws TemplateException
getList
in interface PDSObject
TemplateException
public final String getUnits(String key)
getUnits
in interface PDSContext
public final void setParameters(PDSObject pdsObject)
setParameters
in interface PDSContext
public void setMappings()
setMappings
in interface PDSContext
public final List<String> getPDSObjectNames()
public final String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |