T
- the property typepublic interface FieldAdapter<T>
Modifier and Type | Method and Description |
---|---|
void |
clear(T property)
Clears the given property.
|
void |
emit(T property,
FieldOutput output)
Extracts the given property value into the destination field.
|
void |
parse(CharSequence contents,
T property)
Extracts the given field content into the destination property.
|
void clear(T property)
property
- the propertyvoid parse(CharSequence contents, T property)
contents
- the field contentproperty
- the destination propertyMalformedFieldException
- if the field content is malformedvoid emit(T property, FieldOutput output)
property
- the property valueoutput
- the destination field outputCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.