public final class ByteOptionFieldAdapter extends NumericOptionFieldAdapter<ByteOption>
FieldAdapter which accepts ByteOption.| Modifier and Type | Class and Description |
|---|---|
static class |
ByteOptionFieldAdapter.Builder
A builder of
ByteOptionFieldAdapter. |
NumericOptionFieldAdapter.NumericBuilderBase<S extends NumericOptionFieldAdapter.NumericBuilderBase<S,T>,T extends FieldAdapter<?>>ValueOptionFieldAdapter.BuilderBase<S extends ValueOptionFieldAdapter.BuilderBase<S,T>,T extends FieldAdapter<?>>DEFAULT_NULL_FORMAT| Modifier and Type | Method and Description |
|---|---|
static ByteOptionFieldAdapter.Builder |
builder()
Returns a new builder.
|
protected void |
doEmitDefault(ByteOption property,
StringBuilder output)
Emits the given non-null property value into the string builder.
|
protected void |
doParseDefault(CharSequence contents,
ByteOption property)
Parses the given non-null character sequence and set the parsed value into property.
|
protected Number |
get(ByteOption property)
Returns the property value.
|
protected void |
set(BigDecimal value,
ByteOption property)
Sets the given number into the property.
|
doEmit, doParse, setSpecialclear, emit, parsepublic static ByteOptionFieldAdapter.Builder builder()
protected Number get(ByteOption property)
NumericOptionFieldAdapterget in class NumericOptionFieldAdapter<ByteOption>property - the propertyprotected void set(BigDecimal value, ByteOption property)
NumericOptionFieldAdapterset in class NumericOptionFieldAdapter<ByteOption>value - the valueproperty - the propertyprotected void doParseDefault(CharSequence contents, ByteOption property)
NumericOptionFieldAdapterdoParseDefault in class NumericOptionFieldAdapter<ByteOption>contents - the contents, never nullproperty - the destination propertyprotected void doEmitDefault(ByteOption property, StringBuilder output)
NumericOptionFieldAdapterdoEmitDefault in class NumericOptionFieldAdapter<ByteOption>property - the property value, never null nor represents nulloutput - the destination bufferCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.