A B C D E F G H I L M O P R S T U V W X 

A

addCachedEntities(Map<String, byte[]>) - Method in class gov.nasa.pds.tools.label.CachedEntityResolver
 
addCachedEntities(Map<String, byte[]>) - Method in class gov.nasa.pds.tools.label.CachedLSResourceResolver
 
addException(LabelException) - Method in class gov.nasa.pds.tools.label.ExceptionContainer
 
addValidator(ExternalValidator) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
addValidator(DocumentValidator) - Method in class gov.nasa.pds.tools.label.LabelValidator
 

B

BootstrapResolver - Class in gov.nasa.pds.tools.label
 
BootstrapResolver() - Constructor for class gov.nasa.pds.tools.label.BootstrapResolver
 

C

CachedEntityResolver - Class in gov.nasa.pds.tools.label
Class that caches entities into memory.
CachedEntityResolver() - Constructor for class gov.nasa.pds.tools.label.CachedEntityResolver
Constructor.
CachedLSResourceResolver - Class in gov.nasa.pds.tools.label
Class to resolve resources.
CachedLSResourceResolver() - Constructor for class gov.nasa.pds.tools.label.CachedLSResourceResolver
Constructor.
CachedLSResourceResolver(ExceptionContainer) - Constructor for class gov.nasa.pds.tools.label.CachedLSResourceResolver
Constructor.
clear() - Method in class gov.nasa.pds.tools.label.ExceptionContainer
 
clear() - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Forces the cache of catalog mappings to be cleared.
COPYRIGHT - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 

D

DEFAULT_NAMESPACE - Static variable in class gov.nasa.pds.tools.util.XMLExtractor
 
DefaultDocumentValidator - Class in gov.nasa.pds.tools.label.validate
The intent of this class is to perform some default semantic validation on the parsed PDS4 label.
DefaultDocumentValidator() - Constructor for class gov.nasa.pds.tools.label.validate.DefaultDocumentValidator
 
DocumentValidator - Interface in gov.nasa.pds.tools.label.validate
 

E

equals(Object) - Method in class gov.nasa.pds.tools.label.SourceLocation
 
error(SAXParseException) - Method in class gov.nasa.pds.tools.label.LabelErrorHandler
 
error(TransformerException) - Method in class gov.nasa.pds.tools.label.TransformerErrorListener
 
error(TransformerException) - Method in class gov.nasa.pds.tools.util.XMLErrorListener
Method is called when an error is encountered.
ExceptionContainer - Class in gov.nasa.pds.tools.label
 
ExceptionContainer() - Constructor for class gov.nasa.pds.tools.label.ExceptionContainer
 
ExceptionType - Enum in gov.nasa.pds.tools.label
 
ExternalValidator - Interface in gov.nasa.pds.tools.label.validate
 

F

fatalError(SAXParseException) - Method in class gov.nasa.pds.tools.label.LabelErrorHandler
 
fatalError(TransformerException) - Method in class gov.nasa.pds.tools.label.TransformerErrorListener
 
fatalError(TransformerException) - Method in class gov.nasa.pds.tools.util.XMLErrorListener
Method is called when a fatal error is encountered.
FileReferenceValidator - Class in gov.nasa.pds.tools.label.validate
Validator class that looks for file references in the PDS4 product label and performs the following checks: - Verify that the generated checksum matches the supplied checksum, if provided - Verify that the casing of the file reference matches the file name casing on the file system
FileReferenceValidator() - Constructor for class gov.nasa.pds.tools.label.validate.FileReferenceValidator
 

G

getCachedEntities() - Method in class gov.nasa.pds.tools.label.CachedLSResourceResolver
 
getCatalogList() - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Returns the initial list of catalog entry files.
getColumnNumber() - Method in exception gov.nasa.pds.tools.label.LabelException
 
getColumnNumber() - Method in class gov.nasa.pds.tools.label.SourceLocation
Gets the source column number.
getConfiguration(String) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
getCopyright() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getDefaultModelVersion() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getDefaultNamespace() - Method in class gov.nasa.pds.tools.util.XMLExtractor
 
getDirectoryFileNames(File) - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getDirectoryListing(File) - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getDocNode() - Method in class gov.nasa.pds.tools.util.XMLExtractor
Gets the document node of the XML document.
getExceptions() - Method in class gov.nasa.pds.tools.label.ExceptionContainer
 
getExceptionType() - Method in exception gov.nasa.pds.tools.label.LabelException
 
getExceptionType() - Method in exception gov.nasa.pds.tools.label.ValidatorException
 
getExternalSubset(String, String) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Locates an external subset for documents which do not explicitly provide one.
getLibraryVersion() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getLineNumber() - Method in exception gov.nasa.pds.tools.label.LabelException
 
getLineNumber() - Method in class gov.nasa.pds.tools.label.SourceLocation
Gets the source line number.
getMD5Checksum(URL) - Static method in class gov.nasa.pds.tools.util.MD5Checksum
Gets the MD5 checksum value.
getMessage() - Method in exception gov.nasa.pds.tools.label.LabelException
 
getMessage() - Method in exception gov.nasa.pds.tools.label.ValidatorException
 
getModelVersion() - Method in class gov.nasa.pds.tools.label.LabelValidator
 
getName() - Method in enum gov.nasa.pds.tools.label.ExceptionType
 
getNodeFromDoc(String) - Method in class gov.nasa.pds.tools.util.XMLExtractor
Gets a Node object from the given expression.
getNodeFromItem(String, Object) - Method in class gov.nasa.pds.tools.util.XMLExtractor
Gets a Node object from the given expression.
getNodesFromDoc(String) - Method in class gov.nasa.pds.tools.util.XMLExtractor
Gets Node objects from the given expression.
getNodesFromItem(String, Object) - Method in class gov.nasa.pds.tools.util.XMLExtractor
Gets Node objects from the given expression.
getPDSDefaultNamespace(String) - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getPDSVersion() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getPreferPublic() - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Returns the preference for whether system or public matches are preferred.
getPublicId() - Method in exception gov.nasa.pds.tools.label.LabelException
 
getResourceListing(String) - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSchemaLocation() - Method in class gov.nasa.pds.tools.util.XMLExtractor
 
getSchemaRefFromJar(String, String) - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSchemas() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSchemasFromDirectory() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSchemasFromJar(String) - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSchematronNamespace() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSchematronRefFromJar(String, String) - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSchematrons(NodeList, URL, ExceptionContainer) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
getSchematronsFromJar(String) - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSource() - Method in exception gov.nasa.pds.tools.label.LabelException
 
getStandardsVersion() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSupportedModels() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getSystemId() - Method in exception gov.nasa.pds.tools.label.LabelException
 
getTargetNamespace() - Method in class gov.nasa.pds.tools.util.XMLExtractor
 
getUseLiteralSystemId() - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Returns the preference for whether the literal system identifier should be used when resolving system identifiers when both it and the expanded system identifier are available.
getValue() - Method in enum gov.nasa.pds.tools.label.ExceptionType
 
getValueFromDoc(String) - Method in class gov.nasa.pds.tools.util.XMLExtractor
Gets the value of the given expression.
getValueFromItem(String, Object) - Method in class gov.nasa.pds.tools.util.XMLExtractor
Gets the value of the given expression.
getValuesFromDoc(String) - Method in class gov.nasa.pds.tools.util.XMLExtractor
Gets the values of the given expression.
getValuesFromItem(String, Object) - Method in class gov.nasa.pds.tools.util.XMLExtractor
Gets the values of the given expression.
getXmlModels() - Method in class gov.nasa.pds.tools.util.XMLExtractor
 
getXMLParserVersion() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
getXMLVersion() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 
gov.nasa.pds.tools.label - package gov.nasa.pds.tools.label
 
gov.nasa.pds.tools.label.validate - package gov.nasa.pds.tools.label.validate
 
gov.nasa.pds.tools.util - package gov.nasa.pds.tools.util
 

H

hasError() - Method in class gov.nasa.pds.tools.label.ExceptionContainer
 
hasFatal() - Method in class gov.nasa.pds.tools.label.ExceptionContainer
 
hashCode() - Method in class gov.nasa.pds.tools.label.SourceLocation
 
hasWarning() - Method in class gov.nasa.pds.tools.label.ExceptionContainer
 

I

isInternalMode() - Static method in class gov.nasa.pds.tools.util.VersionInfo
 

L

LabelErrorHandler - Class in gov.nasa.pds.tools.label
 
LabelErrorHandler(ExceptionContainer) - Constructor for class gov.nasa.pds.tools.label.LabelErrorHandler
 
LabelException - Exception in gov.nasa.pds.tools.label
 
LabelException(ExceptionType, String, String, String, Integer, Integer) - Constructor for exception gov.nasa.pds.tools.label.LabelException
 
LabelException(ExceptionType, String, String) - Constructor for exception gov.nasa.pds.tools.label.LabelException
 
LabelValidator - Class in gov.nasa.pds.tools.label
This class is responsible for providing utility functions for validating PDS XML Labels.
LabelValidator() - Constructor for class gov.nasa.pds.tools.label.LabelValidator
Default constructor.
LIBRARY_VERSION - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 

M

main(String[]) - Static method in class gov.nasa.pds.tools.label.LabelValidator
 
makeURL(String) - Static method in class gov.nasa.pds.tools.label.BootstrapResolver
 
MD5Checksum - Class in gov.nasa.pds.tools.util
A class that calculates the MD5 checksum of a file.
MD5Checksum() - Constructor for class gov.nasa.pds.tools.util.MD5Checksum
 
MissingLabelSchemaException - Exception in gov.nasa.pds.tools.label
Exception class to indicate that a given PDS4 label is missing the xsi:schemaLocation attribute.
MissingLabelSchemaException(String) - Constructor for exception gov.nasa.pds.tools.label.MissingLabelSchemaException
 
MODEL_VERSION - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 

O

openConnection(URLConnection) - Static method in class gov.nasa.pds.tools.util.Utility
Method that opens a connection.

P

PDS_DEFAULT_NAMESPACE - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 
PDS_VERSION - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 
performsSchematronValidation() - Method in class gov.nasa.pds.tools.label.LabelValidator
 
performsSchemaValidation() - Method in class gov.nasa.pds.tools.label.LabelValidator
 

R

resolve(String, String) - Method in class gov.nasa.pds.tools.label.BootstrapResolver
Transformer resolve API.
resolve(String, String) - Method in class gov.nasa.pds.tools.util.XslURIResolver
 
resolveEntity(String, String) - Method in class gov.nasa.pds.tools.label.BootstrapResolver
SAX resolveEntity API.
resolveEntity(String, String) - Method in class gov.nasa.pds.tools.label.CachedEntityResolver
 
resolveEntity(String, String) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Resolves an external entity.
resolveEntity(String, String, String, String) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Resolves an external entity.
resolveEntity(XMLResourceIdentifier) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Resolves an external entity.
resolveIdentifier(XMLResourceIdentifier) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Resolves an identifier using the catalog.
resolvePublic(String, String) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Returns the URI mapping in the catalog for the given external identifier or null if no mapping exists.
resolveResource(String, String, String, String, String) - Method in class gov.nasa.pds.tools.label.CachedLSResourceResolver
 
resolveResource(String, String, String, String, String) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Resolves a resource using the catalog.
resolveSystem(String) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Returns the URI mapping in the catalog for the given external identifier or null if no mapping exists.
resolveURI(String) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Returns the URI mapping in the catalog for the given URI reference or null if no mapping exists.

S

SCHEMA_CHECK - Static variable in class gov.nasa.pds.tools.label.LabelValidator
 
SCHEMA_DIR - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 
SCHEMA_DIR_PROP - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 
SCHEMA_LOCATION_XPATH - Static variable in class gov.nasa.pds.tools.util.XMLExtractor
 
SCHEMATRON_CHECK - Static variable in class gov.nasa.pds.tools.label.LabelValidator
 
SCHEMATRON_NAMESPACE - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 
SchematronTransformer - Class in gov.nasa.pds.tools.label
A class that transforms Schematron files based on the isoSchematron stylesheet.
SchematronTransformer() - Constructor for class gov.nasa.pds.tools.label.SchematronTransformer
Constructor.
setCachedEntityResolver(CachedEntityResolver) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
setCachedLSResourceResolver(CachedLSResourceResolver) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
setCatalogList(String[]) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Sets the initial list of catalog entry files.
setCatalogs(String[]) - Method in class gov.nasa.pds.tools.label.LabelValidator
Pass in a list of Catalog files to use during the validation step.
setChecksumManifest(Map<URL, String>) - Method in class gov.nasa.pds.tools.label.validate.FileReferenceValidator
 
setConfiguration(String, Boolean) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
setExceptionContainer(ExceptionContainer) - Method in class gov.nasa.pds.tools.label.CachedLSResourceResolver
 
setLabelSchematrons(Map<String, Transformer>) - Method in class gov.nasa.pds.tools.label.LabelValidator
Pass in a hash map of schematron URLs to its transformed schematron object.
setModelVersion(String) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
setPreferPublic(boolean) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Sets the preference for whether system or public matches are preferred.
setSchema(List<URL>) - Method in class gov.nasa.pds.tools.label.LabelValidator
Pass in a list of schemas to validate against.
setSchemaCheck(Boolean) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
setSchemaCheck(Boolean, Boolean) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
setSchematronCheck(Boolean) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
setSchematronCheck(Boolean, Boolean) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
setSchematronFiles(List<URL>) - Method in class gov.nasa.pds.tools.label.LabelValidator
Pass in a list of schematron files to validate against.
setSchematrons(List<Transformer>) - Method in class gov.nasa.pds.tools.label.LabelValidator
Pass in a list of transformed schematrons to validate against.
setUseLiteralSystemId(boolean) - Method in class gov.nasa.pds.tools.label.XMLCatalogResolver
Sets the preference for whether the literal system identifier should be used when resolving system identifiers when both it and the expanded system identifier are available.
SourceLocation - Class in gov.nasa.pds.tools.label
Implements an object that stores a line and column location in a source document.
SourceLocation(int, int) - Constructor for class gov.nasa.pds.tools.label.SourceLocation
Creates a new instance with a given line and column number.
STANDARDS_VERSION - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 

T

TARGET_NAMESPACE - Static variable in class gov.nasa.pds.tools.util.XMLExtractor
 
toURL(List<String>) - Static method in class gov.nasa.pds.tools.util.Utility
 
toURL(String) - Static method in class gov.nasa.pds.tools.util.Utility
 
transform(Source) - Method in class gov.nasa.pds.tools.label.SchematronTransformer
Transform the given schematron source.
transform(Source, ExceptionContainer) - Method in class gov.nasa.pds.tools.label.SchematronTransformer
Transform the given schematron source.
transform(URL) - Method in class gov.nasa.pds.tools.label.SchematronTransformer
Transform the given schematron.
transform(URL, ExceptionContainer) - Method in class gov.nasa.pds.tools.label.SchematronTransformer
Transform the given schematron.
TransformerErrorListener - Class in gov.nasa.pds.tools.label
Listener class to simply throw exceptions when an error occurs when transforming a schematron.
TransformerErrorListener(ExceptionContainer) - Constructor for class gov.nasa.pds.tools.label.TransformerErrorListener
Constructor.

U

Utility - Class in gov.nasa.pds.tools.util
Utility class.
Utility() - Constructor for class gov.nasa.pds.tools.util.Utility
 

V

validate(ExceptionContainer, File) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
validate(ExceptionContainer, URL) - Method in class gov.nasa.pds.tools.label.LabelValidator
Validates the label against schema and schematron constraints.
validate(File) - Method in class gov.nasa.pds.tools.label.LabelValidator
 
validate(ExceptionContainer, DocumentInfo) - Method in class gov.nasa.pds.tools.label.validate.DefaultDocumentValidator
 
validate(ExceptionContainer, DocumentInfo) - Method in interface gov.nasa.pds.tools.label.validate.DocumentValidator
Method signature for checking to see if a label is valid.
validate(ExceptionContainer, File) - Method in interface gov.nasa.pds.tools.label.validate.ExternalValidator
Method signature for checking to see if a label is valid.
validate(ExceptionContainer, URL) - Method in interface gov.nasa.pds.tools.label.validate.ExternalValidator
Method signature for checking to see if a label is valid.
validate(ExceptionContainer, DocumentInfo) - Method in class gov.nasa.pds.tools.label.validate.FileReferenceValidator
 
ValidatorException - Exception in gov.nasa.pds.tools.label
 
ValidatorException(ExceptionType, String) - Constructor for exception gov.nasa.pds.tools.label.ValidatorException
 
valueOf(String) - Static method in enum gov.nasa.pds.tools.label.ExceptionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum gov.nasa.pds.tools.label.ExceptionType
Returns an array containing the constants of this enum type, in the order they are declared.
VersionInfo - Class in gov.nasa.pds.tools.util
This class provides the means to retrieve underlying supported versions of standards.
VersionInfo() - Constructor for class gov.nasa.pds.tools.util.VersionInfo
 

W

warning(SAXParseException) - Method in class gov.nasa.pds.tools.label.LabelErrorHandler
 
warning(TransformerException) - Method in class gov.nasa.pds.tools.label.TransformerErrorListener
 
warning(TransformerException) - Method in class gov.nasa.pds.tools.util.XMLErrorListener
Method is called when a warning is encountered.

X

xCatalogPubId - Static variable in class gov.nasa.pds.tools.label.BootstrapResolver
Public identifier for legacy Apache XCatalog files.
XML_MODEL_XPATH - Static variable in class gov.nasa.pds.tools.util.XMLExtractor
 
XML_VERSION - Static variable in class gov.nasa.pds.tools.util.VersionInfo
 
xmlCatalog11PubId - Static variable in class gov.nasa.pds.tools.label.BootstrapResolver
Public identifier for OASIS XML Catalog 1.1 files.
xmlCatalog11SysId - Static variable in class gov.nasa.pds.tools.label.BootstrapResolver
System identifier for OASIS XML Catalog 1.1 files.
xmlCatalogPubId - Static variable in class gov.nasa.pds.tools.label.BootstrapResolver
Public identifier for OASIS XML Catalog files.
XMLCatalogResolver - Class in gov.nasa.pds.tools.label
Adaption of Xerces XMLCatalogResolver to bootstrap in catalog 1.1 support.
XMLCatalogResolver() - Constructor for class gov.nasa.pds.tools.label.XMLCatalogResolver
Constructs a catalog resolver with a default configuration.
XMLCatalogResolver(String[]) - Constructor for class gov.nasa.pds.tools.label.XMLCatalogResolver
Constructs a catalog resolver with the given list of entry files.
XMLCatalogResolver(String[], boolean) - Constructor for class gov.nasa.pds.tools.label.XMLCatalogResolver
Constructs a catalog resolver with the given list of entry files and the preference for whether system or public matches are preferred.
xmlCatalogRNG - Static variable in class gov.nasa.pds.tools.label.BootstrapResolver
URI of the RELAX NG Grammar for OASIS XML Catalog files.
xmlCatalogSysId - Static variable in class gov.nasa.pds.tools.label.BootstrapResolver
System identifier for OASIS XML Catalog files.
xmlCatalogXSD - Static variable in class gov.nasa.pds.tools.label.BootstrapResolver
URI of the W3C XML Schema for OASIS XML Catalog files.
XMLErrorListener - Class in gov.nasa.pds.tools.util
Class that handles errors while parsing an XML file.
XMLErrorListener() - Constructor for class gov.nasa.pds.tools.util.XMLErrorListener
 
XMLExtractor - Class in gov.nasa.pds.tools.util
Class to extract data from an XML file.
XMLExtractor(DocumentInfo) - Constructor for class gov.nasa.pds.tools.util.XMLExtractor
Constructor.
XMLExtractor(URL) - Constructor for class gov.nasa.pds.tools.util.XMLExtractor
Constructor.
XMLExtractor(InputSource) - Constructor for class gov.nasa.pds.tools.util.XMLExtractor
 
XMLExtractor(File) - Constructor for class gov.nasa.pds.tools.util.XMLExtractor
 
XMLExtractor(String) - Constructor for class gov.nasa.pds.tools.util.XMLExtractor
Constructor.
XslURIResolver - Class in gov.nasa.pds.tools.util
This class will load stylesheets used for processing schematron from within the jar file.
XslURIResolver() - Constructor for class gov.nasa.pds.tools.util.XslURIResolver
 
A B C D E F G H I L M O P R S T U V W X 

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