@Override public void startElement(String uri,String localName,String qName,Attributes attributes){
  if (elementProcessor != null) {
    elementProcessor=elementProcessor.getChild(uri,localName,qName);
  }
 else   if (ELEMENT_NAME_OSM.equals(qName)) {
    elementProcessor=osmElementProcessor;
  }
 else {
    throw new OsmRuntimeException("This does not appear to be an OSM XML file.");
  }
  elementProcessor.begin(attributes);
}

@ Override public void startElement ( String uri , String localName , String qName , Attributes attributes ) { if ( elementProcessor != null ) { elementProcessor = elementProcessor . getChild ( uri , localName , qName ) ; } else if ( ELEMENT_NAME_OSM . equals ( qName ) ) { elementProcessor = osmElementProcessor ; } else { throw new OsmRuntimeException ( "This does not appear to be an OSM XML file." ) ; } elementProcessor . begin ( attributes ) ; }
begins processing of a new element .
