public DimensionedScalar(String fieldValue) throws IllegalArgumentException {
  super("","");
  Matcher matcher=PATTERN.matcher(fieldValue);
  if (matcher.find()) {
    String name=matcher.group(1);
    String dimensions=matcher.group(2);
    String value=matcher.group(3);
    setName(name);
    setValue(value);
    this.dimensions=new Dimensions(dimensions);
  }
 else {
    throw new DictionaryException("CANNOT PARSE:  >" + fieldValue + "<");
  }
}

public DimensionedScalar ( String fieldValue ) throws IllegalArgumentException { super ( "" , "" ) ; Matcher matcher = PATTERN . matcher ( fieldValue ) ; if ( matcher . find ( ) ) { String name = matcher . group ( 1 ) ; String dimensions = matcher . group ( 2 ) ; String value = matcher . group ( 3 ) ; setName ( name ) ; setValue ( value ) ; this . dimensions = new Dimensions ( dimensions ) ; } else { throw new DictionaryException ( "CANNOT PARSE:  >" + fieldValue + "<" ) ; } }
la stringa contiene il value del field di cui bisogna fare il parsing per estrarre valore e unita ' di misura
