public class WriterPreferences
extends java.lang.Object
| Constructor and Description |
|---|
WriterPreferences() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWriter(CustomAbstractTypeWriter writer) |
void |
decreaseIndention() |
CustomAbstractTypeWriter |
getCustomWriter(AbstractNamedType type)
Fetches custon type writer.
|
java.util.List<CustomAbstractTypeWriter> |
getCustomWriters() |
java.lang.String |
getIndentation()
Fetches indentations string.
|
boolean |
hasCustomWriter(AbstractNamedType type) |
void |
increaseIndentation() |
boolean |
isUseEnumPattern() |
void |
setIndentationStep(java.lang.String indentation) |
void |
useEnumPattern() |
void |
writeDef(AbstractNamedType type,
java.io.Writer writer) |
public void useEnumPattern()
public boolean isUseEnumPattern()
public void addWriter(CustomAbstractTypeWriter writer)
public java.util.List<CustomAbstractTypeWriter> getCustomWriters()
public boolean hasCustomWriter(AbstractNamedType type)
public void writeDef(AbstractNamedType type, java.io.Writer writer) throws java.io.IOException
java.io.IOExceptionpublic CustomAbstractTypeWriter getCustomWriter(AbstractNamedType type)
type - Type for which writer is to be fetched.public java.lang.String getIndentation()
public void setIndentationStep(java.lang.String indentation)
public void increaseIndentation()
public void decreaseIndention()
Copyright © 2022. All rights reserved.