builder.addEntry(Constants.OBJ_TEXT, b);
builder.addEntry(Constants.OBJ_END_PROCINST, symID);
}
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) {
QName qname = new QName(qName, namespaceURI);
int symID = builder.addEntry(Constants.OBJ_BEGIN_ELEMENT, qname);
stack.push(new Integer(symID));
int size = atts.getLength();
for ( int i = 0; i < size; i++ ) {
QName aq = new QName(atts.getQName(i), atts.getURI(i));
int as = builder.addEntry(Constants.OBJ_BEGIN_ATTRIBUTE, aq);
builder.addEntry(Constants.OBJ_TEXT, UTF8.toUTF8(atts.getValue(i)));
builder.addEntry(Constants.OBJ_END_ATTRIBUTE, as);
}
}