popContext();
}
public void attribute(DocumentTableEntry entry) {
int symID = entry.getValID();
QName qname = symbols.getQName(symID);
String uri = qname.getURI();
StringBuffer sb = new StringBuffer();
do {
entry = processor.next();
if ( entry.getTypeID() == Constants.OBJ_TEXT ) {
int valID = entry.getValID();
sb.append(UTF8.toCharArray(table.getValue(valID)));
}
}
while ( entry.getTypeID() != Constants.OBJ_END_ATTRIBUTE );
Element elem = (Element)context;
if ( uri != null )
elem.setAttributeNS(uri, qname.getName(), sb.toString());
else
elem.setAttribute(qname.getName(), sb.toString());
}