gnu.lists
Class UnescapedData

java.lang.Object
  extended by gnu.lists.UnescapedData
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class UnescapedData
extends java.lang.Object
implements java.io.Externalizable

Used for text that is supposed to be written out verbatim. For example, the the output format is XML, can be used to write a literal '<' as a plain "<", instead of being escaped as "<".

See Also:
Serialized Form

Constructor Summary
UnescapedData()
           
UnescapedData(java.lang.String data)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getData()
           
 int hashCode()
           
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnescapedData

public UnescapedData()

UnescapedData

public UnescapedData(java.lang.String data)
Method Detail

getData

public final java.lang.String getData()

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public final boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException