|
31 | 31 | import net.sourceforge.easyml.marshalling.custom.NodeListStrategy; |
32 | 32 | import net.sourceforge.easyml.marshalling.custom.NodeStrategy; |
33 | 33 | import net.sourceforge.easyml.marshalling.java.awt.ColorStrategy; |
| 34 | +import net.sourceforge.easyml.marshalling.java.io.ExternalizableStrategy; |
34 | 35 | import net.sourceforge.easyml.marshalling.java.io.FileStrategy; |
35 | 36 | import net.sourceforge.easyml.marshalling.java.io.SerializableStrategy; |
36 | 37 | import net.sourceforge.easyml.marshalling.java.lang.ArrayStrategy; |
@@ -307,6 +308,7 @@ public void configure(XMLWriter writer) { |
307 | 308 | composite.add(ColorStrategy.INSTANCE); |
308 | 309 | composite.add(ArrayStrategy.INSTANCE); |
309 | 310 | composite.add(ObjectStrategy.INSTANCE); |
| 311 | + composite.add(ExternalizableStrategy.INSTANCE); |
310 | 312 | composite.add(SerializableStrategy.INSTANCE); |
311 | 313 | // composite.add(BitSetStrategy.INSTANCE); |
312 | 314 | composite.add(ArrayListStrategy.INSTANCE); |
@@ -354,6 +356,7 @@ public void configure(XMLReader reader) { |
354 | 356 | simple.put(UUIDStrategy.NAME, UUIDStrategy.INSTANCE); |
355 | 357 | final Map<String, CompositeStrategy> composite = reader.getCompositeStrategies(); |
356 | 358 | composite.put(ColorStrategy.NAME, ColorStrategy.INSTANCE); |
| 359 | + composite.put(ExternalizableStrategy.NAME, ExternalizableStrategy.INSTANCE); |
357 | 360 | composite.put(SerializableStrategy.NAME, SerializableStrategy.INSTANCE); |
358 | 361 | // backwards compatibility: EasyML 1.3.5 with 1.3.4 or less: |
359 | 362 | composite.put(ArrayStrategy.NAME, ArrayStrategy.INSTANCE); |
|
0 commit comments