public interface SamplePrinter
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_VALUE_TEXT
Lead-in for a default value
|
static String |
REQUIRED_HEADER_TEXT
A general explanation for a sample header of what a required property is
|
static String |
REQUIRED_KEYWORD
Required properties will be marked w/ this text in the sample
|
static String |
THE_VALUE_MUST_TEXT
Lead-in text for validation requirements
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSampleFileExtension()
The file extention to use for sample files, eg 'properties' or 'xml'.
|
void |
printProperty(StaticPropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group,
Property<?> prop) |
void |
printPropertyGroupEnd(StaticPropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group) |
void |
printPropertyGroupStart(StaticPropertyConfigurationInternal definition,
PrintStream out,
GroupProxy group) |
void |
printSampleEnd(StaticPropertyConfigurationInternal definition,
PrintStream out) |
void |
printSampleStart(StaticPropertyConfigurationInternal definition,
PrintStream out) |
static final String REQUIRED_KEYWORD
static final String REQUIRED_HEADER_TEXT
static final String THE_VALUE_MUST_TEXT
static final String DEFAULT_VALUE_TEXT
void printSampleStart(StaticPropertyConfigurationInternal definition, PrintStream out)
void printPropertyGroupStart(StaticPropertyConfigurationInternal definition, PrintStream out, GroupProxy group)
void printProperty(StaticPropertyConfigurationInternal definition, PrintStream out, GroupProxy group, Property<?> prop)
void printPropertyGroupEnd(StaticPropertyConfigurationInternal definition, PrintStream out, GroupProxy group)
void printSampleEnd(StaticPropertyConfigurationInternal definition, PrintStream out)
String getSampleFileExtension()
Copyright © 2017. All rights reserved.