@Test public void testSerializeDadl() throws IOException { Archetype archetype = TestAdlParser.parseAdl("adl15/repository/openEHR-EHR-EVALUATION.alert.v1.adls"); AdlStringBuilder builder = new AdlStringBuilder(); DAdlSerializer serializer = new DAdlSerializer(builder); serializer.serialize(archetype.getTranslations()); }
public void serialize(Object obj) { builder.append("<"); serializePlain(obj); builder.append(">"); }
DAdlSerializer { public void serialize(Object obj) { builder.append("<"); serializePlain(obj); builder.append(">"); } }
DAdlSerializer { public void serialize(Object obj) { builder.append("<"); serializePlain(obj); builder.append(">"); } DAdlSerializer(AdlStringBuilder builder); }
DAdlSerializer { public void serialize(Object obj) { builder.append("<"); serializePlain(obj); builder.append(">"); } DAdlSerializer(AdlStringBuilder builder); void serialize(Object obj); void serializePlain(Object obj); void serializeBean(Object obj); void serializeBean(Object obj, Set<String> attributesToIgnore); }
DAdlSerializer { public void serialize(Object obj) { builder.append("<"); serializePlain(obj); builder.append(">"); } DAdlSerializer(AdlStringBuilder builder); void serialize(Object obj); void serializePlain(Object obj); void serializeBean(Object obj); void serializeBean(Object obj, Set<String> attributesToIgnore);  }