|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.tools.label.Statement
gov.nasa.pds.tools.label.PointerStatement
gov.nasa.pds.tools.label.IncludePointer
gov.nasa.pds.tools.label.CatalogPointer
public class CatalogPointer
This class represents a pointer to a catalog file. This is different than normal pointers in that it can reference several files.
Field Summary |
---|
Fields inherited from class gov.nasa.pds.tools.label.IncludePointer |
---|
loaded, loadStatus, numErrors, numWarnings, statements |
Fields inherited from class gov.nasa.pds.tools.label.PointerStatement |
---|
externalReference, value |
Fields inherited from class gov.nasa.pds.tools.label.Statement |
---|
context, filename, identifier, lineNumber |
Fields inherited from interface gov.nasa.pds.tools.label.PointerType |
---|
CATALOG, CATALOG_NAMES, DATA_LOCATION, DESCRIPTION, DESCRIPTION_NAMES, INCLUDE, INCLUDE_NAMES, MAP_PROJECTION, UNDEFINED |
Fields inherited from interface gov.nasa.pds.tools.label.validate.Status |
---|
FAIL, PASS, SKIP, UNKNOWN |
Constructor Summary | |
---|---|
CatalogPointer(int lineNumber,
java.lang.String identifier,
Value value)
|
Method Summary | |
---|---|
void |
loadReferencedStatements(java.util.List includePaths)
This method attempts to load the referenced statements. |
Methods inherited from class gov.nasa.pds.tools.label.IncludePointer |
---|
getLoadStatus, getNumErrors, getNumWarnings, getStatements, isLoaded |
Methods inherited from class gov.nasa.pds.tools.label.PointerStatement |
---|
attachComment, getComment, getExternalFileReference, getExternalFileReferences, getPointerType, getValue, hasExternalReference, hasMultipleReferences |
Methods inherited from class gov.nasa.pds.tools.label.Statement |
---|
compareTo, getContext, getFilename, getIdentifier, getLineNumber, setContext, setFilename |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CatalogPointer(int lineNumber, java.lang.String identifier, Value value)
Method Detail |
---|
public void loadReferencedStatements(java.util.List includePaths) throws ParseException, java.io.IOException
loadReferencedStatements
in class IncludePointer
includePaths
- An list of URL
in which to search for the referenced file
ParseException
- thrown if the file can not be properly loaded
java.io.IOException
- thrown if file can not be accessed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |