public class TokenConverters extends Object
TokenConverter
objects.Modifier and Type | Method and Description |
---|---|
static TokenConverter |
getConverter(TokenType type)
Creates a converter appropriate for the given type.
|
static TokenConverter |
getConverter(TokenValued value)
Creates a converter, bound to the given value
|
static TokenConverter[] |
getConverters(RecordTokenType type)
Creates an array of converters for each scalar type in the given record type.
|
static TokenConverter[] |
getConverters(RecordValued value)
Creates an array of converters for each scalar field in the given record value.
|
public static TokenConverter getConverter(TokenValued value)
value
- the value to bind topublic static TokenConverter getConverter(TokenType type)
type
- the token type for which to create a converterpublic static TokenConverter[] getConverters(RecordTokenType type)
type
- record typepublic static TokenConverter[] getConverters(RecordValued value)
value
- a record valued sourceCopyright © 2024 Actian Corporation. All rights reserved.