public void close(){
  if (elementLayers != null) {
    elementLayers.clear();
    elementLayers=null;
  }
  inputSource=null;
  curListener=null;
}

public void close ( ) { if ( elementLayers != null ) { elementLayers . clear ( ) ; elementLayers = null ; } inputSource = null ; curListener = null ; }
closes parser and frees all resources .
