if ( prop == null || prop.getTypeCode( ) != PropertyType.LIST_TYPE )
if ( prop == null || prop.getTypeCode( ) != IPropertyType.LIST_TYPE )
	protected void writeSimplePropertyList( DesignElement obj, String propName )	{		PropertyDefn prop = (ElementPropertyDefn) obj.getDefn( ).getProperty(				propName );		if ( prop == null || prop.getTypeCode( ) != PropertyType.LIST_TYPE )			return;		List values = (List) obj.getLocalProperty( getModule( ), propName );		if ( values == null || values.isEmpty( ) )			return;		writer				.conditionalStartElement( DesignSchemaConstants.SIMPLE_PROPERTY_LIST_TAG );		writer.attribute( DesignSchemaConstants.NAME_ATTRIB, propName );		for ( int i = 0; i < values.size( ); i++ )		{			PropertyType type = prop.getSubType( );			String xmlValue = type.toXml( getModule( ), prop, values.get( i ) );			if ( xmlValue != null )			{				writer.startElement( DesignSchemaConstants.VALUE_TAG );				writer.text( xmlValue );				writer.endElement( );			}		}		writer.endElement( );	}