private void transferToSpecificBuilderAndReset(){
  if (currentTag == Tag.VERSION) {
    dataBuilder.setVersion(buffer.toString());
  }
  addToRobotBuilder();
  addToBrowserBuilder();
  addToOperatingSystemBuilder();
  addToBrowserPatternBuilder();
  addToBrowserTypeBuilder();
  addToBrowserOsMappingBuilder();
  addToOperatingSystemPatternBuilder();
  addToDeviceBuilder();
  addToDevicePatternBuilder();
  buffer=new StringBuilder();
}

private void transferToSpecificBuilderAndReset ( ) { if ( currentTag == Tag . VERSION ) { dataBuilder . setVersion ( buffer . toString ( ) ) ; } addToRobotBuilder ( ) ; addToBrowserBuilder ( ) ; addToOperatingSystemBuilder ( ) ; addToBrowserPatternBuilder ( ) ; addToBrowserTypeBuilder ( ) ; addToBrowserOsMappingBuilder ( ) ; addToOperatingSystemPatternBuilder ( ) ; addToDeviceBuilder ( ) ; addToDevicePatternBuilder ( ) ; buffer = new StringBuilder ( ) ; }
transfers all characters of a specific tag to the corresponding builder and resets the string buffer .
