de.hs_rm.cs.lecturenotes.shared
Interface IXMLEntity

All Superinterfaces:
com.google.gwt.user.client.rpc.IsSerializable
All Known Implementing Classes:
Exercise, Filecard, Lecture, Paragraph

public interface IXMLEntity
extends com.google.gwt.user.client.rpc.IsSerializable

A XML Entity might generate XML from it's attributes.

Author:
enrico

Method Summary
 java.lang.String getXMLRepresentation()
          Will return a XML representation of the entity.
 void writeAsXML(java.lang.StringBuffer sb)
          Writes a XML representation of the entity to StringBuffer sb .
 

Method Detail

writeAsXML

void writeAsXML(java.lang.StringBuffer sb)
Writes a XML representation of the entity to StringBuffer sb .

Parameters:
sb - StringBuffer

getXMLRepresentation

java.lang.String getXMLRepresentation()
Will return a XML representation of the entity.

Returns:
String