| Package | Description |
|---|---|
| com.github.mangstadt.vinnie |
Contains core, data model classes.
|
| com.github.mangstadt.vinnie.io |
Contains classes that can contain I/O functionality.
|
| com.github.mangstadt.vinnie.validate |
Contains classes that can contain validation functionality.
|
| Modifier and Type | Method and Description |
|---|---|
static SyntaxStyle |
SyntaxStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyntaxStyle[] |
SyntaxStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
SyntaxStyle |
SyntaxRules.getDefaultSyntaxStyle()
Gets the the syntax style to use when it can't be determined what the
data stream uses.
|
SyntaxStyle |
VObjectWriter.getSyntaxStyle()
Gets the syntax style the writer is using.
|
SyntaxStyle |
SyntaxRules.getSyntaxStyle(String component,
String versionValue)
Gets the syntax style to use for a given component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SyntaxRules.addRule(String component,
String version,
SyntaxStyle syntaxStyle)
Adds a rule.
|
void |
SyntaxRules.setDefaultSyntaxStyle(SyntaxStyle defaultSyntaxStyle)
Sets the syntax style to use when it can't be determined what the data
stream uses.
|
void |
VObjectWriter.setSyntaxStyle(SyntaxStyle syntaxStyle)
Sets the syntax style that the writer should use.
|
| Constructor and Description |
|---|
SyntaxRules(SyntaxStyle defaultSyntaxStyle)
Creates a new set of syntax rules.
|
VObjectWriter(Writer writer,
SyntaxStyle syntaxStyle)
Creates a new vobject writer.
|
| Modifier and Type | Method and Description |
|---|---|
static AllowedCharacters |
VObjectValidator.allowedCharactersGroup(SyntaxStyle syntax,
boolean strict)
Gets the list of allowed characters for group names.
|
static AllowedCharacters |
VObjectValidator.allowedCharactersParameterName(SyntaxStyle syntax,
boolean strict)
Gets the list of allowed characters for parameter names.
|
static AllowedCharacters |
VObjectValidator.allowedCharactersParameterValue(SyntaxStyle syntax,
boolean caretEncoding,
boolean strict)
Gets the list of allowed characters for parameter values.
|
static AllowedCharacters |
VObjectValidator.allowedCharactersPropertyName(SyntaxStyle syntax,
boolean strict)
Gets the list of allowed characters for property names.
|
static boolean |
VObjectValidator.validateGroupName(String group,
SyntaxStyle syntax,
boolean strict)
Validates a group name.
|
static boolean |
VObjectValidator.validateParameterName(String name,
SyntaxStyle syntax,
boolean strict)
Validates a parameter name.
|
static boolean |
VObjectValidator.validateParameterValue(String value,
SyntaxStyle syntax,
boolean caretEncoding,
boolean strict)
Validates a parameter value.
|
static boolean |
VObjectValidator.validatePropertyName(String name,
SyntaxStyle syntax,
boolean strict)
Validates a property name.
|
Copyright © 2016–2018 Michael Angstadt. All rights reserved.