protected void handleKeepAspectRatio(final PropertyAttributes atts)
throws ParseException
{
final String booleanValue = atts.getValue(getUri(), AbstractShapeElementReadHandler.KEEP_ASPECT_RATIO_ATT);
final AbstractContentElementFactory elementFactory = (AbstractContentElementFactory) getElementFactory();
final Boolean keepAspectRatio = ParserUtil.parseBoolean(booleanValue, getLocator());
if (keepAspectRatio != null)
{
elementFactory.setKeepAspectRatio(keepAspectRatio);
}
}