@Override public void startElement(final String namespaceURI,final String localName,final String qName,final Attributes atts) throws SAXException {
  Object objectToLoad=null;
  if (openNodes.size() == 0)   objectToLoad=rootObject;
 else   objectToLoad=createChild(qName,atts);
  if (objectToLoad != null) {
    if (atts.getIndex("type") < 0)     ObjectGetSetter.set(objectToLoad,"type",qName);
    ObjectGetSetter.setAll(objectToLoad,atts);
  }
  openNodes.push(new StackedObject(objectToLoad));
}

@ Override public void startElement ( final String namespaceURI , final String localName , final String qName , final Attributes atts ) throws SAXException { Object objectToLoad = null ; if ( openNodes . size ( ) == 0 ) objectToLoad = rootObject ; else objectToLoad = createChild ( qName , atts ) ; if ( objectToLoad != null ) { if ( atts . getIndex ( "type" ) < 0 ) ObjectGetSetter . set ( objectToLoad , "type" , qName ) ; ObjectGetSetter . setAll ( objectToLoad , atts ) ; } openNodes . push ( new StackedObject ( objectToLoad ) ) ; }
call back methods used by saxloader . startelement ( ) and endelement ( )
