if ( StyledElement.STYLE_PROP.equalsIgnoreCase( name ) )
if ( IStyledElementModel.STYLE_PROP.equalsIgnoreCase( name ) )
	protected void doEnd( String value )	{		if ( struct != null )		{			setMember( struct, propDefn.getName( ), name, value );			return;		}		if ( StyledElement.STYLE_PROP.equalsIgnoreCase( name ) )		{			// Ensure that the element can have a style.			if ( !element.getDefn( ).hasStyle( ) )			{				DesignParserException e = new DesignParserException(						new String[]{name},						DesignParserException.DESIGN_EXCEPTION_UNDEFINED_PROPERTY );				RecoverableError.dealUndefinedProperty( handler, e );				return;			}			( (StyledElement) element ).setStyleName( value );		}		else		{			setProperty( name, value );		}	}