public class BooleanOptionPropertyAdapter extends ValueOptionPropertyAdapter<BooleanOption>
PropertyAdapter for BooleanOption.| Modifier and Type | Class and Description |
|---|---|
static class |
BooleanOptionPropertyAdapter.Builder
A builder for
BooleanOptionPropertyAdapter. |
ValueOptionPropertyAdapter.BuilderBase<S extends ValueOptionPropertyAdapter.BuilderBase<S,T>,T extends PropertyAdapter<?>>, ValueOptionPropertyAdapter.NullStyleDEFAULT_NULL_STYLE| Modifier | Constructor and Description |
|---|---|
protected |
BooleanOptionPropertyAdapter(BooleanOptionPropertyAdapter.Builder builder)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanOptionPropertyAdapter.Builder |
builder()
Returns a new builder.
|
protected void |
doRead(ValueReader reader,
BooleanOption property)
Reads a value and set it into the given property.
|
protected void |
doWrite(BooleanOption property,
ValueWriter writer)
Writes a value from the given property.
|
absent, read, writeprotected BooleanOptionPropertyAdapter(BooleanOptionPropertyAdapter.Builder builder)
builder - the source builderpublic static BooleanOptionPropertyAdapter.Builder builder()
protected void doRead(ValueReader reader, BooleanOption property) throws IOException
ValueOptionPropertyAdapterdoRead in class ValueOptionPropertyAdapter<BooleanOption>reader - the source reader, never holds nullproperty - the destination propertyIOException - IOException if I/O error was occurredprotected void doWrite(BooleanOption property, ValueWriter writer) throws IOException
ValueOptionPropertyAdapterdoWrite in class ValueOptionPropertyAdapter<BooleanOption>property - the source property, never holds nullwriter - the destination writerIOException - if I/O error was occurredCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.