Class KotlinPojoWriter
java.lang.Object
io.github.torand.jsonschema2java.writers.BaseWriter
io.github.torand.jsonschema2java.writers.kotlin.KotlinPojoWriter
- All Implemented Interfaces:
PojoWriter,AutoCloseable
Writes Kotlin code for a pojo.
-
Field Summary
Fields inherited from class io.github.torand.jsonschema2java.writers.BaseWriter
opts -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.torand.jsonschema2java.writers.BaseWriter
close, write, writeIndent, writeLine, writeNewLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.torand.jsonschema2java.writers.PojoWriter
close
-
Constructor Details
-
KotlinPojoWriter
-
-
Method Details
-
write
Description copied from interface:PojoWriterWrites code for specified pojo.- Specified by:
writein interfacePojoWriter- Parameters:
pojoInfo- the pojo information.
-