int a = 0, c = 0, d = 0, val = 0;
	private boolean skipChar(int ch) throws ParseException, EncodingException,			EOFException {		int temp = 0;		int a = 0, c = 0, d = 0, val = 0;		if (offset >= endOffset)			throw new EOFException("Premature EOF reached");		switch (encoding) {		case FORMAT_ASCII:			temp = XMLDoc[offset];			if (ch == temp) {				offset++;				return true;			} else {				return false;			}		case FORMAT_UTF8:			temp = XMLDoc[offset];			if (temp >= 0)				if (ch == temp) {					offset++;					return true;				} else {					return false;				}			return skipUTF8(temp, ch);		case FORMAT_UTF_16BE:		    return skip_16be(ch);		case FORMAT_UTF_16LE:		    return skip_16le(ch);		case FORMAT_ISO_8859:			temp = XMLDoc[offset];			if (temp == ch) {				offset++;				return true;			} else {				return false;			}		default:			throw new EncodingException("Unknown encoding");		}	}