Lines Matching defs:buff

528 	public void adup(char[] buff, int offset, int length) throws SAXException {
534 public void aname(char[] buff, int offset, int length) throws SAXException {
538 theAttributeName = makeName(buff, offset, length).toLowerCase();
542 public void aval(char[] buff, int offset, int length) throws SAXException {
544 String value = new String(buff, offset, length);
605 public void entity(char[] buff, int offset, int length) throws SAXException {
606 theEntity = lookupEntity(buff, offset, length);
611 private int lookupEntity(char[] buff, int offset, int length) {
615 // System.err.println("%% Got entity [" + new String(buff, offset, length) + "]");
616 if (buff[offset] == '#') {
617 if (length > 1 && (buff[offset+1] == 'x'
618 || buff[offset+1] == 'X')) {
620 return Integer.parseInt(new String(buff, offset + 2, length - 2), 16);
625 return Integer.parseInt(new String(buff, offset + 1, length - 1), 10);
629 return theSchema.getEntity(new String(buff, offset, length));
632 public void eof(char[] buff, int offset, int length) throws SAXException {
642 public void etag(char[] buff, int offset, int length) throws SAXException {
643 if (etag_cdata(buff, offset, length)) return;
644 etag_basic(buff, offset, length);
648 public boolean etag_cdata(char[] buff, int offset, int length) throws SAXException {
657 if (Character.toLowerCase(buff[offset + i]) != Character.toLowerCase(currentName.charAt(i))) {
665 theContentHandler.characters(buff, offset, length);
674 public void etag_basic(char[] buff, int offset, int length) throws SAXException {
679 name = makeName(buff, offset, length);
831 public void decl(char[] buff, int offset, int length) throws SAXException {
832 String s = new String(buff, offset, length);
955 public void gi(char[] buff, int offset, int length) throws SAXException {
957 String name = makeName(buff, offset, length);
974 public void cdsect(char[] buff, int offset, int length) throws SAXException {
976 pcdata(buff, offset, length);
979 public void pcdata(char[] buff, int offset, int length) throws SAXException {
983 if (!Character.isWhitespace(buff[offset+i])) {
989 theContentHandler.ignorableWhitespace(buff, offset, length);
994 theContentHandler.characters(buff, offset, length);
998 public void pitarget(char[] buff, int offset, int length) throws SAXException {
1000 thePITarget = makeName(buff, offset, length).replace(':', '_');
1003 public void pi(char[] buff, int offset, int length) throws SAXException {
1006 // if (length > 0 && buff[length - 1] == '?') System.err.println("%% Removing ? from PI");
1007 if (length > 0 && buff[length - 1] == '?') length--; // remove trailing ?
1009 new String(buff, offset, length));
1013 public void stagc(char[] buff, int offset, int length) throws SAXException {
1019 etag_basic(buff, offset, length);
1023 public void stage(char[] buff, int offset, int length) throws SAXException {
1028 etag_basic(buff, offset, length);
1033 public void cmnt(char[] buff, int offset, int length) throws SAXException {
1034 theLexicalHandler.comment(buff, offset, length);
1075 private String makeName(char[] buff, int offset, int length) {
1079 // String src = new String(buff, offset, length); // DEBUG
1081 char ch = buff[offset];