Class PlantUMLPrinter
java.lang.Object
org.nuxeo.ecm.core.io.marshallers.puml.PlantUMLPrinter
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Since:
- 2025.12
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe style to apply on an arrow, like dashed, dotted, or changing color.static enumprotected static enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Deque<PlantUMLPrinter.Type> protected final PrintWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()protected StringformatIdentifier(String identifier) protected Writerprotected voidindent()protected voidpopType()protected voidvoidwriteArrow(String identifier1, String identifier2) voidwriteArrow(String identifier1, String identifier2, String comment) voidwriteArrow(String identifier1, String identifier2, String comment, PlantUMLPrinter.ArrowStyle style) since 2025.16voidwriteArrow(String identifier1, String identifier2, PlantUMLPrinter.ArrowStyle style) since 2025.16voidvoidvoidvoidvoidvoidprotected voidvoidwriteFreeText(String text) voidvoidwriteSkinparam(String key, String value) voidwriteSkinparam(String parentKey, String key1, String value1) voidvoidwriteSkinparam(String parentKey, String key1, String value1, String key2, String value2, String key3, String value3) protected voidwriteSkinparamKeyValue(String key, String value) voidwriteStartClass(String identifier, String title) voidwriteStartComponent(String identifier) voidwriteStartComponent(String identifier, String title) voidwriteStartComponent(String identifier, String title, String stereo) voidwriteStartDatabase(String identifier, String title) voidprotected voidwriteStartElement(PlantUMLPrinter.ElementType type, String identifier, String title, String stereo) voidwriteStartPackage(String identifier, String title) voidwriteStartQueue(String identifier) voidwriteStartQueue(String identifier, String title) protected voidwriteStartSkinparam(String parentKey) voidvoidwriteTitle(String title)
-
Field Details
-
writer
-
typeDeque
-
-
Constructor Details
-
PlantUMLPrinter
-
-
Method Details
-
writeStartDocument
- Throws:
IOException
-
writeEndDocument
- Throws:
IOException
-
writeTitle
- Throws:
IOException
-
writeHide
- Throws:
IOException- Since:
- 2025.16
-
writeSkinparam
- Throws:
IOException
-
writeStartSkinparam
- Throws:
IOException
-
writeSkinparamKeyValue
- Throws:
IOException
-
writeEndSkinparam
- Throws:
IOException
-
writeSkinparam
- Throws:
IOException- Since:
- 2025.16
-
writeSkinparam
public void writeSkinparam(String parentKey, String key1, String value1, String key2, String value2) throws IOException - Throws:
IOException
-
writeSkinparam
public void writeSkinparam(String parentKey, String key1, String value1, String key2, String value2, String key3, String value3) throws IOException - Throws:
IOException- Since:
- 2025.16
-
writeStartClass
- Throws:
IOException- Since:
- 2025.16
-
writeEndClass
- Throws:
IOException- Since:
- 2025.16
-
writeStartComponent
- Throws:
IOException
-
writeStartComponent
- Throws:
IOException
-
writeStartComponent
public void writeStartComponent(String identifier, @Nullable String title, @Nullable String stereo) throws IOException - Throws:
IOException- Since:
- 2025.16
-
writeEndComponent
- Throws:
IOException
-
writeStartDatabase
- Throws:
IOException- Since:
- 2025.16
-
writeEndDatabase
- Throws:
IOException- Since:
- 2025.16
-
writeStartPackage
- Throws:
IOException- Since:
- 2025.16
-
writeEndPackage
- Throws:
IOException- Since:
- 2025.16
-
writeStartQueue
- Throws:
IOException- Since:
- 2025.16
-
writeStartQueue
- Throws:
IOException- Since:
- 2025.16
-
writeEndQueue
- Throws:
IOException- Since:
- 2025.16
-
writeStartElement
protected void writeStartElement(PlantUMLPrinter.ElementType type, String identifier, @Nullable String title, @Nullable String stereo) throws IOException - Throws:
IOException
-
writeArrow
- Throws:
IOException
-
writeArrow
public void writeArrow(String identifier1, String identifier2, @Nullable PlantUMLPrinter.ArrowStyle style) throws IOException since 2025.16- Throws:
IOException
-
writeArrow
public void writeArrow(String identifier1, String identifier2, @Nullable String comment) throws IOException - Throws:
IOException
-
writeArrow
public void writeArrow(String identifier1, String identifier2, @Nullable String comment, @Nullable PlantUMLPrinter.ArrowStyle style) since 2025.16 -
writeFreeText
- Throws:
IOException
-
writeTextSeparator
- Throws:
IOException
-
formatIdentifier
-
pushTypeIfNeeded
-
popType
protected void popType() -
indent
protected void indent() -
getWriter
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Throws:
IOException
-