Package org.gittorr.ccerial.utils
Interface FieldAccessorWriter
- All Known Implementing Classes:
AbstractFieldAccessorWriter,ArrayFieldAccessorWriter,ObjectArrayFieldAccessorWriter,SimpleFieldAccessorWriter
public interface FieldAccessorWriter
Internal class
-
Method Summary
Modifier and TypeMethodDescriptiongetKind()booleanvoidwriteReader(Writer out, String accessorName, Element fieldEl, CcSerializable ccSerializable, boolean isRecord) Write readervoidwriteWriter(Writer out, String accessorName, Element fieldEl, CcSerializable ccSerializable, boolean isRecord) Write writer
-
Method Details
-
getKind
TypeKind getKind()- Returns:
- the type kind
-
isVariable
boolean isVariable()- Returns:
- is variable
-
getTypeName
String getTypeName()- Returns:
- type name
-
writeWriter
void writeWriter(Writer out, String accessorName, Element fieldEl, CcSerializable ccSerializable, boolean isRecord) throws IOException Write writer- Parameters:
out- outaccessorName- the accessorNamefieldEl- the fieldElccSerializable- the ccSerializableisRecord- the isRecord- Throws:
IOException- the IOException
-
writeReader
void writeReader(Writer out, String accessorName, Element fieldEl, CcSerializable ccSerializable, boolean isRecord) throws IOException Write reader- Parameters:
out- outaccessorName- the accessorNamefieldEl- the fieldElccSerializable- the ccSerializableisRecord- the isRecord- Throws:
IOException- the IOException
-