Package com.powsybl.commons.io
Class AbstractTreeDataWriter
java.lang.Object
com.powsybl.commons.io.AbstractTreeDataWriter
- All Implemented Interfaces:
TreeDataWriter
,AutoCloseable
- Direct Known Subclasses:
JsonWriter
,XmlWriter
- Author:
- Florian Dupuy <florian.dupuy at rte-france.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeOptionalBooleanAttribute
(String name, Boolean value) void
writeOptionalDoubleAttribute
(String name, Double value) void
writeOptionalIntAttribute
(String name, Integer value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.commons.io.TreeDataWriter
close, setVersions, writeBooleanAttribute, writeBooleanAttribute, writeDoubleAttribute, writeDoubleAttribute, writeEndNode, writeEndNodes, writeEnumAttribute, writeFloatAttribute, writeIntArrayAttribute, writeIntAttribute, writeIntAttribute, writeNamespace, writeNodeContent, writeStartNode, writeStartNodes, writeStringArrayAttribute, writeStringAttribute
-
Constructor Details
-
AbstractTreeDataWriter
public AbstractTreeDataWriter()
-
-
Method Details
-
writeOptionalBooleanAttribute
- Specified by:
writeOptionalBooleanAttribute
in interfaceTreeDataWriter
-
writeOptionalDoubleAttribute
- Specified by:
writeOptionalDoubleAttribute
in interfaceTreeDataWriter
-
writeOptionalIntAttribute
- Specified by:
writeOptionalIntAttribute
in interfaceTreeDataWriter
-