|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.serializer.EncodingInfo.EncodingImpl
private class EncodingInfo.EncodingImpl
This class implements the
Field Summary | |
---|---|
private EncodingInfo.InEncoding |
m_after
The object, of the same type as this one, that handles unicode values in a range after the range explictly handled by this object, and to which this object may delegate. |
private boolean[] |
m_alreadyKnown
A flag to record if we already know the answer for the given unicode value. |
private EncodingInfo.InEncoding |
m_before
The object, of the same type as this one, that handles unicode values in a range before the range explictly handled by this object, and to which this object may delegate. |
private java.lang.String |
m_encoding
The encoding. |
private int |
m_explFirst
m_explFirst through m_explLast is the range of unicode value that this object handles explicitly and does not delegate to a similar object. |
private int |
m_explLast
|
private int |
m_first
m_first through m_last is the range of unicode values that this object will return an answer on. |
private boolean[] |
m_isInEncoding
A table holding the answer on whether the given unicode value is in the encoding. |
private int |
m_last
|
private static int |
RANGE
The number of unicode values explicitly handled by a single EncodingInfo object. |
Constructor Summary | |
---|---|
private |
EncodingInfo.EncodingImpl()
|
private |
EncodingInfo.EncodingImpl(java.lang.String encoding,
int first,
int last,
int codePoint)
|
Method Summary | |
---|---|
boolean |
isInEncoding(char ch1)
Returns true if the char is in the encoding |
boolean |
isInEncoding(char high,
char low)
Returns true if the high/low surrogate pair forms a character that is in the encoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.lang.String m_encoding
private final int m_first
private final int m_explFirst
private final int m_explLast
private final int m_last
private EncodingInfo.InEncoding m_before
private EncodingInfo.InEncoding m_after
private static final int RANGE
private final boolean[] m_alreadyKnown
private final boolean[] m_isInEncoding
Constructor Detail |
---|
private EncodingInfo.EncodingImpl()
private EncodingInfo.EncodingImpl(java.lang.String encoding, int first, int last, int codePoint)
Method Detail |
---|
public boolean isInEncoding(char ch1)
EncodingInfo.InEncoding
isInEncoding
in interface EncodingInfo.InEncoding
public boolean isInEncoding(char high, char low)
EncodingInfo.InEncoding
isInEncoding
in interface EncodingInfo.InEncoding
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |