org.xpresso.xml
Class XmlContent

java.lang.Object
  extended by org.xpresso.xml.XmlContent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CDATA, Comment, Document, Element, ProcessingInstruction, Text

public abstract class XmlContent
extends java.lang.Object
implements java.io.Serializable

The class XmlContent describes common features needed for all type of XML content. This code is under the LGPL v3 licence.

Author:
Alexis Dufrenoy
See Also:
Serialized Form

Field Summary
protected  java.lang.StringBuilder content
          The resulting tag after construction
 
Constructor Summary
XmlContent()
           
 
Method Summary
 java.lang.String getText()
          Return the tag as a String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected java.lang.StringBuilder content
The resulting tag after construction

Constructor Detail

XmlContent

public XmlContent()
Method Detail

getText

public java.lang.String getText()
Return the tag as a String

Returns:
String containing the XmlContent