Package | Description |
---|---|
com.hp.util.format |
Set of interfaces and utilities to perform token substitution within a String.
|
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 | Class and Description |
---|---|
class |
InvalidTokenTranslator
Abstraction of a translator whose treatment of illegal or invalid tokens is
customizable.
|
class |
MapTranslator
Formats message strings by substituting results of a map lookup for the
specified key string. It can be used in several different ways.
|
class |
ReflectionTranslator
Formats message strings by substituting results of parameter-less method
invocations for the specified string.
|
class |
ResourceBundleTokenTranslator
This is an implementation of the TokenTranslator interface that reads
tokens from a specified ResourceBundle.
|
Modifier and Type | Method and Description |
---|---|
String |
SimpleTokenMessageTranslator.translate(String message,
TokenTranslator translator)
Replace all token strings within the specified message using the
substitution services of the given translator.
|
String |
TokenMessageTranslator.translate(String message,
TokenTranslator translator)
Translate all token strings within the specified message using the
substitution services of the given translator.
|
String |
RestrictedTokenMessageTranslator.translate(String message,
TokenTranslator translator) |
Modifier and Type | Class and Description |
---|---|
class |
Syntax
Class representing a root syntax node, i.e.
|
class |
SyntaxFragment
Class representing a fragment of syntax, i.e a node that references other
syntax nodes via it's own usage string.
|
class |
SyntaxKeyword
Class representing a leaf syntax keyword.
|
class |
SyntaxNode
Class representing a generic node in a syntax tree which has not yet been
fully resolved.
|
class |
SyntaxNodeExtension
Abstraction of a syntax node capable of inheritance.
|
class |
SyntaxPackage
Class representing a package of syntax definitions.
|
class |
SyntaxParameter
Class representing a variable syntax parameter.
|
Modifier and Type | Method and Description |
---|---|
Constraints |
NumberParameterParser.parse(Properties db,
TokenTranslator tr,
ParserLoader parserLoader)
Creates an instance of
NumberConstraints . |
Constraints |
NameValueParameterParser.parse(Properties db,
TokenTranslator tr,
ParserLoader parserLoader)
Creates an instance of
NameValueConstraints . |
Constraints |
StringParameterParser.parse(Properties db,
TokenTranslator tr,
ParserLoader parserLoader)
Creates an instance of
StringConstraints . |
Constraints |
BooleanParameterParser.parse(Properties db,
TokenTranslator tr,
ParserLoader parserLoader)
Creates as an instance of
BooleanConstraints . |
Constraints |
DateListParameterParser.parse(Properties db,
TokenTranslator tr,
ParserLoader parserLoader)
Returns an object describing particular constraints as defined in the
specified property database.
|
Constraints |
FileParameterParser.parse(Properties db,
TokenTranslator tr,
ParserLoader parserLoader)
Creates an instance of
FileConstraints . |
Constraints |
DateParameterParser.parse(Properties db,
TokenTranslator tr,
ParserLoader parserLoader)
Creates an instance of
DateConstraints . |
Constraints |
NumberListParameterParser.parse(Properties db,
TokenTranslator tr,
ParserLoader parserLoader)
Returns an object describing particular constraints as defined in the
specified property database.
|
Constraints |
StringListParameterParser.parse(Properties db,
TokenTranslator tr,
ParserLoader parserLoader)
Returns an object describing particular constraints as defined in the
specified property database.
|
Constraints |
ConstraintsParser.parse(Properties db,
TokenTranslator translator,
ParserLoader parserLoader)
Returns an object describing particular constraints as defined
in the specified property database.
|
Copyright © 2015. All Rights Reserved.