KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > icl > saxon > charcode > ASCIICharacterSet


1 package com.icl.saxon.charcode;
2
3 /**
4 * This class defines properties of the US-ASCII character set
5 */

6
7 public class ASCIICharacterSet implements CharacterSet {
8
9     public final boolean inCharset(int c) {
10         return c <= 0x7f;
11     }
12
13 }
14
15 //
16
// The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
17
// you may not use this file except in compliance with the License. You may obtain a copy of the
18
// License at http://www.mozilla.org/MPL/
19
//
20
// Software distributed under the License is distributed on an "AS IS" basis,
21
// WITHOUT WARRANTY OF ANY KIND, either express or implied.
22
// See the License for the specific language governing rights and limitations under the License.
23
//
24
// The Original Code is: all this file.
25
//
26
// The Initial Developer of the Original Code is
27
// Aleksei Makarov [makarov@iitam.omsk.net.ru]
28
//
29
// Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
30
//
31
// Contributor(s): none.
32
//
33
Popular Tags