protected void buildStyleProperties( ) throws MetaDataException
private void buildStyleProperties( ) throws MetaDataException
	protected void buildStyleProperties( ) throws MetaDataException	{		// If this item has a style, copy the relevant style properties onto		// this element if it's leaf element or copy all the style properties		// onto this element if it is a container.		addStyleProperties( );		if ( ReportDesignConstants.EXTENDED_ITEM.equalsIgnoreCase( getName( ) ) )		{			List styles = MetaDataDictionary.getInstance( ).getStyle( )					.getLocalProperties( );			for ( int i = 0; i < styles.size( ); i++ )			{				String propName = ( (SystemPropertyDefn) styles.get( i ) )						.getName( );				properties.put( propName, styles.get( i ) );			}		}		else		{			// The meta-data file should not define style property names			// for a class without a style.			if ( !hasStyle && stylePropertyNames != null || hasStyle					&& isContainer( ) && stylePropertyNames != null )				throw new MetaDataException( new String[]{this.name},						MetaDataException.DESIGN_EXCEPTION_ILLEGAL_STYLE_PROPS );		}	}