gnu.lists
Class UnescapedData
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UnescapedData
public UnescapedData()
UnescapedData
public UnescapedData(java.lang.String data)
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