Package gnu.lists
Class UnescapedData
java.lang.Object
gnu.lists.UnescapedData
- All Implemented Interfaces:
Externalizable
,Serializable
,CharSequence
Used for text that is supposed to be written out verbatim.
For example, if the output format is XML, can be used to write
a literal
'<'
as a plain "<"
, instead of being
escaped as "<"
.- See Also:
-
Constructor Details
-
UnescapedData
public UnescapedData() -
UnescapedData
-
-
Method Details
-
getData
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
equals
-
hashCode
public final int hashCode() -
length
public int length()- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-