/** * Reads an HTML entity from the stream and returns its plain/text * counterpart. * * @return an entity read from the stream, or the stream content. * @throws IOException if the underlying reader throws one */ private String processEntity() throws IOException { StringBuffer buf= new StringBuffer(); int ch= nextChar(); while (ScannerHelper.isLetterOrDigit((char) ch) || ch == '#') { buf.append((char) ch); ch= nextChar(); } if (ch == ';') return entity2Text(buf.toString()); buf.insert(0, '&'); if (ch != -1) buf.append((char) ch); return buf.toString(); } }
/** * Reads an HTML entity from the stream and returns its plain/text * counterpart. * * @return an entity read from the stream, or the stream content. * @throws IOException if the underlying reader throws one */ private String processEntity() throws IOException { StringBuffer buf= new StringBuffer(); int ch= nextChar(); while (ScannerHelper.isLetterOrDigit((char) ch) || ch == '#') { buf.append((char) ch); ch= nextChar(); } if (ch == ';') return entity2Text(buf.toString()); buf.insert(0, '&'); if (ch != -1) buf.append((char) ch); return buf.toString(); } }
/** * Reads an HTML entity from the stream and returns its plain/text * counterpart. * * @return an entity read from the stream, or the stream content. * @throws IOException if the underlying reader throws one */ private String processEntity() throws IOException { StringBuffer buf= new StringBuffer(); int ch= nextChar(); while (ScannerHelper.isLetterOrDigit((char) ch) || ch == '#') { buf.append((char) ch); ch= nextChar(); } if (ch == ';') return entity2Text(buf.toString()); buf.insert(0, '&'); if (ch != -1) buf.append((char) ch); return buf.toString(); } }
if (!isConstantField) { if(prefixes[k].length > 0 && ScannerHelper.isLetterOrDigit(prefixes[k][prefixes[k].length - 1])) { tempName[0] = ScannerHelper.toUpperCase(tempName[0]); } else {
if (!isConstantField) { if(prefixes[k].length > 0 && ScannerHelper.isLetterOrDigit(prefixes[k][prefixes[k].length - 1])) { tempName[0] = ScannerHelper.toUpperCase(tempName[0]); } else {
if (!isConstantField) { if(prefixes[k].length > 0 && ScannerHelper.isLetterOrDigit(prefixes[k][prefixes[k].length - 1])) { tempName[0] = ScannerHelper.toUpperCase(tempName[0]); } else {
if (!isConstantField) { if(prefixes[k].length > 0 && ScannerHelper.isLetterOrDigit(prefixes[k][prefixes[k].length - 1])) { tempName[0] = ScannerHelper.toUpperCase(tempName[0]); } else {
if (!isConstantField) { if(prefixes[k].length > 0 && ScannerHelper.isLetterOrDigit(prefixes[k][prefixes[k].length - 1])) { tempName[0] = ScannerHelper.toUpperCase(tempName[0]); } else {
if (!isConstantField) { if(prefixes[k].length > 0 && ScannerHelper.isLetterOrDigit(prefixes[k][prefixes[k].length - 1])) { tempName[0] = ScannerHelper.toUpperCase(tempName[0]); } else {