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 |
|---|---|
void |
printProperty(ConstructionDefinition definition,
PrintStream out,
Class<? extends BasePropertyGroup> group,
Property<?> prop) |
void |
printPropertyGroupEnd(ConstructionDefinition definition,
PrintStream out,
Class<? extends BasePropertyGroup> group) |
void |
printPropertyGroupStart(ConstructionDefinition definition,
PrintStream out,
Class<? extends BasePropertyGroup> group) |
void |
printSampleEnd(ConstructionDefinition definition,
PrintStream out) |
void |
printSampleStart(ConstructionDefinition 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(ConstructionDefinition definition, PrintStream out)
void printPropertyGroupStart(ConstructionDefinition definition, PrintStream out, Class<? extends BasePropertyGroup> group)
void printProperty(ConstructionDefinition definition, PrintStream out, Class<? extends BasePropertyGroup> group, Property<?> prop)
void printPropertyGroupEnd(ConstructionDefinition definition, PrintStream out, Class<? extends BasePropertyGroup> group)
void printSampleEnd(ConstructionDefinition definition, PrintStream out)
Copyright © 2017. All rights reserved.