* of the parsing of this value.
* @param s String representation of a SVGlength.
*/
protected void parse(String s) {
try {
LengthParser lengthParser = new LengthParser();
UnitProcessor.UnitResolver ur =
new UnitProcessor.UnitResolver();
lengthParser.setLengthHandler(ur);
lengthParser.parse(s);
unitType = ur.unit;
value = ur.value;
} catch (ParseException e) {
unitType = SVG_LENGTHTYPE_UNKNOWN;
value = 0;