< prev index next >
src/java.desktop/share/classes/com/sun/beans/decoder/DocumentHandler.java
Print this page
*** 278,288 ****
*/
@Override
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
ElementHandler parent = this.handler;
try {
! this.handler = getElementHandler(qName).newInstance();
this.handler.setOwner(this);
this.handler.setParent(parent);
}
catch (Exception exception) {
throw new SAXException(exception);
--- 278,290 ----
*/
@Override
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
ElementHandler parent = this.handler;
try {
! @SuppressWarnings("deprecation")
! ElementHandler tmp = getElementHandler(qName).newInstance();
! this.handler = tmp;
this.handler.setOwner(this);
this.handler.setParent(parent);
}
catch (Exception exception) {
throw new SAXException(exception);
< prev index next >