code: public static PreserveAspectRatio  of(String value)
     {
        try {
           return SVGParser.parsePreserveAspectRatio(value);
        } catch (SVGParseException e) {
           throw new IllegalArgumentException(e.getMessage());
        }
     }
docs: Parse the given SVG <code>preserveAspectRation</code> attribute value and return an equivalent
  instance of this class.
  @param value a string in the same format as an SVG {@code preserveAspectRatio} attribute
  @return a instance of this class