Package | Description |
---|---|
gov.nasa.pds.tools | |
gov.nasa.pds.tools.label | |
gov.nasa.pds.tools.label.antlr | |
gov.nasa.pds.tools.label.parser | |
gov.nasa.pds.tools.label.validate |
Constructor and Description |
---|
LabelParserException(Label label,
Integer lineNumber,
Integer column,
String key,
Constants.ProblemType type,
Object... arguments)
Use this constructor for exceptions that are associated with a specific
file but not on a given line (e.g.
|
Modifier and Type | Field and Description |
---|---|
protected Label |
Statement.label |
Modifier and Type | Method and Description |
---|---|
Label |
Statement.getLabel()
Retrieves the label associated with this statement
|
Modifier and Type | Method and Description |
---|---|
static long |
Label.getSkipBytes(Label label,
Numeric startPosition) |
static Date |
DateTimeFormatter.lenientParse(Label label,
String dateTime,
int lineNumber) |
void |
IncludePointer.loadReferencedStatements(Label parentLabel,
PointerResolver resolver) |
static PointerStatement |
PointerStatementFactory.newInstance(Label sourceLabel,
int line,
String identifier,
Value value) |
static Date |
DateTimeFormatter.parse(Label label,
String dateTime,
int lineNumber)
Parses a date/time string into a Java
Date . |
Constructor and Description |
---|
AttributeStatement(Label sourcelabel,
int lineNumber,
String identifier)
Constructs a new attribute statement with no value
|
AttributeStatement(Label sourcelabel,
int lineNumber,
String identifier,
Value value) |
AttributeStatement(Label sourcelabel,
String identifier)
Constructs a new attribute statement with no line number or value
|
AttributeStatement(Label sourcelabel,
String identifier,
Value value)
Constructs a new attribute statement with no line number
|
CatalogPointer(Label sourceLabel,
int lineNumber,
DictIdentifier identifier,
Value value) |
CommentStatement(Label sourcelabel,
int lineNumber) |
CommentStatement(Label sourcelabel,
int lineNumber,
String identifier) |
CommentStatement(Label sourcelabel,
int lineNumber,
String identifier,
String text) |
CommentStatement(Label sourcelabel,
org.antlr.runtime.Token commentToken,
String identifier) |
DateTime(Label label,
String value,
int lineNumber) |
DateTime(Label label,
String value,
int lineNumber,
boolean lenient) |
DescriptionPointer(Label sourceLabel,
int lineNumber,
DictIdentifier identifier,
Value value) |
GroupStatement(Label sourceLabel,
int lineNumber,
String identifier)
Constructs an empty group statement
|
GroupStatement(Label sourceLabel,
int lineNumber,
String identifier,
Map<DictIdentifier,List<Statement>> statements)
Constructs a group statement that contains the given statements
|
IncludePointer(Label sourceLabel,
int lineNumber,
DictIdentifier identifier,
Value value) |
IndexPointer(Label sourceLabel,
int lineNumber,
DictIdentifier identifier,
Value value) |
ObjectStatement(Label sourceLabel,
int lineNumber,
String identifier)
Constructs a new object statement with no attributes or nested objects
|
ObjectStatement(Label sourceLabel,
int lineNumber,
String identifier,
Map<DictIdentifier,List<Statement>> statements)
Constructs an ObjectStatement
|
ObjectStatement(Label sourceLabel,
String identifier)
Constructs an ObjectStatement with only an identifier
|
PointerStatement(Label sourceLabel,
int lineNumber,
DictIdentifier identifier)
Constructs essentially a null pointer
|
PointerStatement(Label sourceLabel,
int lineNumber,
DictIdentifier identifier,
Value value)
Constructs a pointer with a value on the right hand side
|
SpecialPointer(Label sourceLabel,
int lineNumber,
DictIdentifier identifier,
Value value) |
Statement(Label sourceLabel,
int lineNumber,
DictIdentifier identifier) |
StructurePointer(Label sourceLabel,
int lineNumber,
DictIdentifier identifier,
Value value) |
Modifier and Type | Method and Description |
---|---|
Label |
ODLParser.dictionary_section() |
Modifier and Type | Method and Description |
---|---|
List<Label> |
ODLParser.dictionary() |
Modifier and Type | Method and Description |
---|---|
Label |
DefaultLabelParser.parseLabel(File file) |
Label |
LabelParser.parseLabel(File file,
boolean forceParse) |
Label |
DefaultLabelParser.parseLabel(File file,
boolean forceParse) |
Label |
DefaultLabelParser.parseLabel(URL url) |
Label |
LabelParser.parseLabel(URL url,
boolean forceParse)
Parses the given file
|
Label |
DefaultLabelParser.parseLabel(URL url,
boolean forceParse) |
Label |
DefaultLabelParser.parsePartial(BufferedInputStream inputStream,
Label label,
Label parent) |
Label |
LabelParser.parsePartial(File file,
Label parent) |
Label |
DefaultLabelParser.parsePartial(File file,
Label parent) |
Label |
DefaultLabelParser.parsePartial(File file,
Label parent,
boolean captureProbs) |
Label |
DefaultLabelParser.parsePartial(File file,
Label parent,
boolean captureProbs,
boolean allowExternalProbs) |
Label |
LabelParser.parsePartial(URL url,
Label parent)
Parses the given partial label.
|
Label |
DefaultLabelParser.parsePartial(URL url,
Label parent) |
Label |
DefaultLabelParser.parsePartial(URL url,
Label parent,
boolean captureProbs) |
Label |
DefaultLabelParser.parsePartial(URL url,
Label parent,
boolean captureProbs,
boolean allowExternalProbs) |
Modifier and Type | Method and Description |
---|---|
Label |
DefaultLabelParser.parsePartial(BufferedInputStream inputStream,
Label label,
Label parent) |
Label |
LabelParser.parsePartial(File file,
Label parent) |
Label |
DefaultLabelParser.parsePartial(File file,
Label parent) |
Label |
DefaultLabelParser.parsePartial(File file,
Label parent,
boolean captureProbs) |
Label |
DefaultLabelParser.parsePartial(File file,
Label parent,
boolean captureProbs,
boolean allowExternalProbs) |
Label |
LabelParser.parsePartial(URL url,
Label parent)
Parses the given partial label.
|
Label |
DefaultLabelParser.parsePartial(URL url,
Label parent) |
Label |
DefaultLabelParser.parsePartial(URL url,
Label parent,
boolean captureProbs) |
Label |
DefaultLabelParser.parsePartial(URL url,
Label parent,
boolean captureProbs,
boolean allowExternalProbs) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ElementValidator.validate(AttributeStatement attribute,
Label label,
Dictionary dictionary) |
static boolean |
ElementValidator.validate(AttributeStatement attribute,
Label label,
Dictionary dictionary,
ElementDefinition definition) |
static boolean |
ElementValidator.validate(AttributeStatement attribute,
Label label,
Dictionary dictionary,
String objectContext)
Checks to see whether an
AttributeStatement is correct. |
static boolean |
GroupValidator.validate(GroupStatement group,
Dictionary dictionary,
Label label) |
void |
Validator.validate(Label label) |
boolean |
TableValidator.validate(Label label) |
boolean |
LabelValidator.validate(Label label)
Method signature for checking to see if a label is valid.
|
boolean |
DuplicateIdentifierValidator.validate(Label label) |
boolean |
CatalogNameValidator.validate(Label label) |
void |
Validator.validate(Label label,
Dictionary dictionary) |
static boolean |
ObjectValidator.validate(ObjectStatement object,
Dictionary dictionary,
Label label) |
Copyright © 2005–2015 Planetary Data System. All rights reserved.