|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.io.CharacterSet | +--org.enhydra.xml.io.ISO8859CharacterSet
Information and operations associated with the ISO-8859-* group of character sets.
Constructor Summary | |
ISO8859CharacterSet(String name,
int charSize,
String mimePreferred,
String[] aliases)
Constructor |
Method Summary | |
String[] |
getAliases()
Get the aliases |
int |
getCharSize()
Get the character size, in bits |
int |
getMaxCharValue()
Get the maximum value for a character |
String |
getMIMEPreferred()
Get the MIME preferred name or null if unspecified |
String |
getName()
Get the name |
boolean |
isCompatible(CharacterSet otherSet)
Determine if another character set is compatible to this character set. |
boolean |
isValid(char ch)
Basic implementation for ISO 8859 character sets. |
boolean |
sameValidCharRange(CharacterSet otherSet)
Determine if another character set has the same valid range of character codes as this character set. |
String |
toString()
Get string representation of object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ISO8859CharacterSet(String name, int charSize, String mimePreferred, String[] aliases)
Method Detail |
public boolean isValid(char ch)
isValid
in class CharacterSet
CharacterSet.isValid(char)
public boolean sameValidCharRange(CharacterSet otherSet)
CharacterSet
isValid()
return the same value for any arbitrary
unicode character.
WARNING: This is only well implemented for a few character sets on an as-needed basis; the rest just go by the character size.
sameValidCharRange
in class CharacterSet
CharacterSet.isCompatible(org.enhydra.xml.io.CharacterSet)
public final String getName()
public final int getCharSize()
public final int getMaxCharValue()
public final String getMIMEPreferred()
public final String[] getAliases()
public boolean isCompatible(CharacterSet otherSet)
otherSet.isValid()
return true
,
this.isValid()
will return true
as well.
WARNING: This is only well implemented for a few character sets on an as-needed basis; the rest just go by the character set size.
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |