org.apache.xml.serializer
Interface EncodingInfo.InEncoding

All Known Implementing Classes:
EncodingInfo.EncodingImpl
Enclosing class:
EncodingInfo

private static interface EncodingInfo.InEncoding

A simple interface to isolate the implementation. We could also use some new JRE 1.4 methods in another implementation provided we use reflection with them.

This interface is not a public API, and should only be used internally within the serializer.


Method Summary
 boolean isInEncoding(char ch)
          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.
 

Method Detail

isInEncoding

boolean isInEncoding(char ch)
Returns true if the char is in the encoding


isInEncoding

boolean isInEncoding(char high,
                     char low)
Returns true if the high/low surrogate pair forms a character that is in the encoding.