Package | Description |
---|---|
gov.nasa.pds.tools.validate |
Implementations of general-purpose classes for the validation
application.
|
gov.nasa.pds.tools.validate.rule |
Implementations of rules for checking compliance to data standards.
|
gov.nasa.pds.tools.validate.rule.pds4 |
Implementations of standards rules for the PDS4 data standard.
|
Modifier and Type | Method and Description |
---|---|
static ProblemDefinition |
ProblemDefinition.findByID(int id) |
ProblemDefinition |
ValidationProblem.getProblem() |
Constructor and Description |
---|
ValidationProblem(ProblemDefinition defn,
ValidationTarget target) |
ValidationProblem(ProblemDefinition defn,
ValidationTarget target,
int lineNumber,
int columnNumber) |
ValidationProblem(ProblemDefinition defn,
ValidationTarget target,
int lineNumber,
int columnNumber,
String message) |
ValidationProblem(ProblemDefinition defn,
ValidationTarget target,
String message) |
Modifier and Type | Field and Description |
---|---|
static ProblemDefinition |
GenericProblems.MALFORMED_UTF8_CHARACTER
Indicates a problem in a UTF-8 byte stream, where one or more
bytes do not indicate a legal encoding of a character.
|
static ProblemDefinition |
GenericProblems.UNCAUGHT_EXCEPTION |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractValidationRule.reportError(ProblemDefinition defn,
URL targetUrl,
int lineNumber,
int columnNumber)
Reports an error to the validation listener.
|
protected void |
AbstractValidationRule.reportError(ProblemDefinition defn,
URL target,
int lineNumber,
int columnNumber,
String message)
Reports an error to the validation listener with a custom message.
|
Modifier and Type | Field and Description |
---|---|
static ProblemDefinition |
PDS4Problems.DIRECTORY_NAME_CONFLICTS_IN_CASE
Indicates a directory name that conflicts with the name of another file or folder
in the same parent folder.
|
static ProblemDefinition |
PDS4Problems.DIRECTORY_NAME_TOO_LONG
Indicates a directory name that exceeds the maximum length.
|
static ProblemDefinition |
PDS4Problems.DIRECTORY_NAME_USES_INVALID_CHARACTER
Indicates a directory name that includes a disallowed character.
|
static ProblemDefinition |
PDS4Problems.DUPLICATE_LOGICAL_IDENTIFIER
Indicates a logical identifier that was used more than once.
|
static ProblemDefinition |
PDS4Problems.FIELDS_NOT_IN_ORDER
Indicates a table definition where the fields are not defined in physical order.
|
static ProblemDefinition |
PDS4Problems.FIELDS_OVERLAP
Indicates a table definition where the fields are not defined in physical order.
|
static ProblemDefinition |
PDS4Problems.FILE_NAME_CONFLICTS_IN_CASE
Indicates a file name that conflicts with the name of another file or folder
in the same parent folder.
|
static ProblemDefinition |
PDS4Problems.FILE_NAME_TOO_LONG
Indicates a file name that exceeds the maximum length.
|
static ProblemDefinition |
PDS4Problems.FILE_NAME_USES_INVALID_CHARACTER
Indicates a file name that includes illegal characters.
|
static ProblemDefinition |
PDS4Problems.INVALID_COLLECTION_NAME
Indicates a collection directory that has an invalid name.
|
static ProblemDefinition |
PDS4Problems.INVALID_LABEL
Indicates a label that has invalid structure.
|
static ProblemDefinition |
PDS4Problems.INVALID_LABEL_EXTENSION
Indicates a label that does not have the required extension.
|
static ProblemDefinition |
PDS4Problems.UNALLOWED_BASE_NAME
Indicates a file name that includes a disallowed base name.
|
static ProblemDefinition |
PDS4Problems.UNALLOWED_BUNDLE_SUBDIRECTORY_NAME
Indicates a directory name that is explicitly disallowed by the standard.
|
static ProblemDefinition |
PDS4Problems.UNALLOWED_DIRECTORY_NAME
Indicates a directory name that is explicitly disallowed by the standard.
|
static ProblemDefinition |
PDS4Problems.UNALLOWED_FILE_NAME
Indicates a file name that is explicitly disallowed by the standard.
|
static ProblemDefinition |
PDS4Problems.UNEXPECTED_FILE_IN_BUNDLE_ROOT
Indicates an unexpected file in the root directory of a bundle.
|
static ProblemDefinition |
PDS4Problems.UNLABELED_FILE
Indicates a file that is not associated with any label.
|
Copyright © 2010–2018 Planetary Data System. All rights reserved.