1 package org.catacomb.druid.blocks; 2 3 4 import org.catacomb.interlish.structure.Element; 5 import org.catacomb.interlish.structure.ElementReader; 6 7 8 public class HTMLContent implements ElementReader { 9 10 String content; 11 12 public void populateFrom(Element elt) { 13 content = elt.serialize(); // ElementSerializer.serializeContent(elt); 14 } 15 16 public String getText() { 17 return content; 18 } 19 20 public String getContent() { 21 return content; 22 } 23 }