java.lang.Object
org.jhotdraw8.draw.io.XmlEncoderOutputFormat
- All Implemented Interfaces:
OutputFormat
XMLEncoderOutputFormat.
- Author:
- Werner Randelshofer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImmutableMap<Key<?>, Object> voidsetOptions(ImmutableMap<Key<?>, Object> options) voidWrites a Drawing into an output stream.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.draw.io.OutputFormat
write, write
-
Field Details
-
XML_SERIALIZER_MIME_TYPE
- See Also:
-
-
Constructor Details
-
XmlEncoderOutputFormat
public XmlEncoderOutputFormat()
-
-
Method Details
-
write
public void write(OutputStream out, @Nullable URI documentHome, Drawing drawing, WorkState<Void> workState) Description copied from interface:OutputFormatWrites a Drawing into an output stream.- Specified by:
writein interfaceOutputFormat- Parameters:
out- The output stream.documentHome- Document home URI for creating relative URIs in the document if this URI is null, all URIs in the document will be absolutedrawing- The drawing.workState- for progress monitoring and cancelling the operation
-
getOptions
- Specified by:
getOptionsin interfaceOutputFormat
-
setOptions
- Specified by:
setOptionsin interfaceOutputFormat
-