public class PDS3Label extends Object implements PDSObject
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT |
ContextUtil |
ctxtUtil |
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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() |
ImageInputStream |
getImageInputStream() |
Long |
getImageStartByte() |
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 |
setImageInputStream(ImageInputStream iis) |
void |
setImageStartByte(Long x) |
void |
setIncludePaths(List<String> i)
Set the paths to search for files referenced by pointers.
|
void |
setMappings() |
void |
setParameters(PDSObject pdsObject) |
void |
setParserType(ParserType type) |
String |
toString() |
public static final String CONTEXT
public ContextUtil ctxtUtil
public PDS3Label()
public PDS3Label(Document document)
document
- public PDS3Label(String filePath)
filePath
- public final Object get(String key)
get
in interface PDSObjectContext
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 PDSObjectContext
public final void setParameters(PDSObject pdsObject)
setParameters
in interface PDSObjectContext
public void setImageInputStream(ImageInputStream iis)
public ImageInputStream getImageInputStream()
getImageInputStream
in interface PDSObject
public void setImageStartByte(Long x)
public Long getImageStartByte()
getImageStartByte
in interface PDSObject
public void setMappings()
setMappings
in interface PDSObjectContext
public final List<String> getPDSObjectNames()
public void setParserType(ParserType type)
Copyright © 2010–2017 Planetary Data System. All rights reserved.