Package org.mapstruct.ap.internal.writer
Interface Writable
- 
- All Known Implementing Classes:
 AdderWrapper,AllPresenceChecksPresenceCheck,AnnotatedConstructor,AnnotatedSetter,Annotation,AnnotationElement,AnnotationMapperReference,ArrayCopyWrapper,AssignmentWrapper,BeanMappingMethod,ContainerMappingMethod,Decorator,DecoratorConstructor,DefaultMapperReference,DelegatingMethod,EnumAnnotationElementHolder,EnumConstantWrapper,ExistingInstanceSetterWrapperForCollectionsAndMaps,Field,FreeMarkerWritable,GeneratedType,GeneratedTypeMethod,GetterWrapperForCollectionsAndMaps,IterableCreation,IterableMappingMethod,Java8FunctionWrapper,Javadoc,JavaExpressionPresenceCheck,LifecycleCallbackMethodReference,LocalVarWrapper,MapMappingMethod,Mapper,MapperReference,MappingMethod,MethodReference,MethodReferencePresenceCheck,ModelElement,NegatePresenceCheck,NestedPropertyMappingMethod,NewInstanceSetterWrapperForCollectionsAndMaps,NoArgumentConstructor,NormalTypeMappingMethod,NullPresenceCheck,Parameter,PropertyMapping,ReturnWrapper,ServicesEntry,SetterWrapper,SetterWrapperForCollectionsAndMaps,SetterWrapperForCollectionsAndMapsWithNullCheck,SourceRHS,StreamAdderWrapper,StreamMappingMethod,SubclassMapping,SuffixPresenceCheck,SupportingConstructorFragment,SupportingField,SupportingMappingMethod,Type,TypeConversion,UpdateWrapper,ValueMappingMethod,WrapperForCollectionsAndMaps
public interface WritableAn element with the ability to write itself into a givenWriter.- Author:
 - Gunnar Morling
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceWritable.ContextPassed toWritable, providing access to additional data specific to a given implementation of the model serialization mechanism. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(Writable.Context context, Writer writer)Writes this element to the given writer. 
 - 
 
- 
- 
Method Detail
- 
write
void write(Writable.Context context, Writer writer) throws Exception
Writes this element to the given writer.- Parameters:
 context- Provides additional data specific to the used implementation of the serialization mechanism.writer- The writer to write this element to. Must not be closed by implementations.- Throws:
 Exception- in case of an error
 
 - 
 
 -