public void startElement(String uri,String name,String qName,Attributes atts) throws SAXException {
  if (name.equalsIgnoreCase(GMLConstants.GML_POLYGON)) {
    currGeomHandler=new GMLHandler(fact,null);
  }
  if (currGeomHandler != null)   currGeomHandler.startElement(uri,name,qName,atts);
  if (currGeomHandler == null) {
    lastEltName=name;
  }
}

public void startElement ( String uri , String name , String qName , Attributes atts ) throws SAXException { if ( name . equalsIgnoreCase ( GMLConstants . GML_POLYGON ) ) { currGeomHandler = new GMLHandler ( fact , null ) ; } if ( currGeomHandler != null ) currGeomHandler . startElement ( uri , name , qName , atts ) ; if ( currGeomHandler == null ) { lastEltName = name ; } }
sax handler . handle state and state transitions based on an element starting .
