Exemplo n.º 1
0
 /*
  * @see org.primordion.xholon.io.xml.XmlWriter#writeEndElement(String name)
  */
 public void writeEndElement(String name) {
   if ("Annotation".equals(name)) {
     return;
   }
   // try {
   if (richText.length() > 0) {
     super.writeStartElement("rich_text");
     super.writeText(richText);
     super.writeEndElement("rich_text"); // rich_text
     richText = "";
   }
   super.writeEndElement("node"); // node
   // } catch (XMLStreamException e) {
   //	e.printStackTrace();
   // }
 }
Exemplo n.º 2
0
 /*
  * @see org.primordion.xholon.io.xml.XmlWriter#writeEndDocument()
  */
 public void writeEndDocument() {
   /*try {
   	ctdWriter.writeEndElement(); // cherrytree
   	ctdWriter.writeEndDocument();
   } catch (XMLStreamException e) {
   	e.printStackTrace();
   }*/
   super.writeEndElement("cherrytree");
 }