Package | Description |
---|---|
com.hp.util.syntax |
Collection of facilities to translate a set of command-line arguments into amap of name-to-object bindings, using an XML-encoded set of syntaxdefinitions.
|
com.hp.util.syntax.parsers |
Set of interfaces and several built-in implementations for parsers andconstraints which define a framework for extension of the command-line parsingframework.
|
Modifier and Type | Method and Description |
---|---|
TypedParser |
SyntaxPackage.getParser(String name,
Class<?> parserInterface)
Returns the parser with the specified name and from the specified
intefrace pool.
|
TypedParser |
ParserLoader.getParser(String name,
Class<?> parserInterface)
Returns the parser with the specified name and from the specified
interface pool.
|
Modifier and Type | Method and Description |
---|---|
void |
SyntaxPackage.addParser(TypedParser parser,
Class<?> parserInterface)
Registers the specified parser, using its type token, in the pool of
parsers that implement the specified interface.
|
void |
ParserLoader.addParser(TypedParser parser,
Class<?> parserInterface)
Registers the specified parser in the pool of parsers that implement
the specified interface.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConstraintsParser
Interface for generating constraints out of the syntax node
definition database.
|
interface |
ParameterParser
Interface for objects that can validate and parse a token into a
specific object.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractParameterParser
Builtin abstraction of a locale-specific parser.
|
class |
BooleanParameterParser
Parameter parser for a Boolean value.
|
class |
DateListParameterParser
Builtin parser for a list of date & time values.
|
class |
DateParameterParser
Builtin parser for date & time values.
|
class |
FileParameterParser
Builtin parser for file values.
|
class |
ListParameterParser
Abstraction of a parser capable of producing lists of parameters.
|
class |
NameValueParameterParser
Builtin parser for name=value pair arguments.
|
class |
NumberListParameterParser
Builtin parser for a list of number values.
|
class |
NumberParameterParser
Builtin parser for number values.
|
class |
StringListParameterParser
Builtin parser for a list of string values.
|
class |
StringParameterParser
Builtin parser for string values.
|
Copyright © 2015. All Rights Reserved.